cancel
Showing results for 
Search instead for 
Did you mean: 

No SPC560Pxx IRQ Component RLA in SPC5 5.6

Zhang Lei
Associate II
Posted on November 27, 2017 at 03:45

I need to update the SPC5 4.0 project to SPC5 5.6 project. But there is no SPC560Pxx IRQ component RLA in SPC5 5.6. 0690X0000060PFZQA2.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee
Posted on November 27, 2017 at 10:08

Hello Zhang ,

you have to choose the Init Package.

the Init Package is a meta component which Contains

  • Board Init
  • Clock component
  • IRQ Component
  • OSAL Component.

Best regards

                Erwan

View solution in original post

6 REPLIES 6
Erwan YVIN
ST Employee
Posted on November 27, 2017 at 10:08

Hello Zhang ,

you have to choose the Init Package.

the Init Package is a meta component which Contains

  • Board Init
  • Clock component
  • IRQ Component
  • OSAL Component.

Best regards

                Erwan

Posted on November 29, 2017 at 02:20

If I add the following two IRQ, there will be an error everytime. If I don't add the following two IRQ, there will be no error.

0690X00000604EQQAY.jpg0690X000006042zQAA.jpg
Erwan YVIN
ST Employee
Posted on November 29, 2017 at 09:54

Hello Zhang ,

SPC5Studio has tried to apply the patch from your old application 4.0 'SPC560Pxx IRQ Component RLA' (not compliant anymore)

(cf Patch.xml)

You should remove your patch file or rename it before generating. (Example below)

from :

<?xml version='1.0' encoding='UTF-8'?>
<SPC5-Patch version='1.0.0'>
 <!--It is your patch repository, do not break your XML File.-->
 <files>
 <file componentId='com.st.spc5.components.irq.spc560pxx_rla' version='1.1.0.qualifier' path='component/lib/src/eirq.c' user='false'>
 <diff><![CDATA[--- components/spc560pxx_irq_component_rla/lib/src/eirq.c
+++ components/spc560pxx_irq_component_rla/lib/src/eirq.c
@@ -21,7 +21,7 @@
 * @addtogroup EIRQ
 * @{
 */
-
+#define TOTO
 #include 'eirq.h'
 #include 'eirq_cfg.h'
 #include 'osal.h']]></diff>
 </file>
 </files>
</SPC5-Patch>
�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?

into :

<?xml version='1.0' encoding='UTF-8'?>
<SPC5-Patch version='1.0.0'>
 <!--It is your patch repository, do not break your XML File.-->
 <files>
 </files>
</SPC5-Patch>
�?�?�?�?�?�?

Best regards

Erwan

Posted on November 29, 2017 at 09:30

Hello Zhang ,

First , you have 2 exact identifier.

Second , could you click on error Tab to check what is the error ?

c:\SPC5Studio\workspace\.metadata\.log

         Best regards

                       Erwan

Posted on November 29, 2017 at 09:43

I changed the IRQ number and the error is still there.

0690X00000604EuQAI.jpg

I put the log in the attachment.

________________

Attachments :

.log.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyHM&d=%2Fa%2F0X0000000b5P%2F.leknDbc99xVc02mdylVXegzH8RteVhTVQOB4JJfrno&asPdf=false
Posted on November 29, 2017 at 10:11

For the last reply Nov 29, 2017 9:49 AM, I put the wrong log and then I update the log. I use SPC5 5.6 to create a new project not use the SPC5 5.6 open a SPC5 4.0 old project. Now I do it again and I put the newest log in the attachment.

________________

Attachments :

.log.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyHH&d=%2Fa%2F0X0000000b5S%2F5oX47AcHNavFohTc8XMamHU8W5q8Y3r.VUziwwj8dlo&asPdf=false