Skip to main content
Zhang Lei
Associate II
November 27, 2017
Solved

No SPC560Pxx IRQ Component RLA in SPC5 5.6

  • November 27, 2017
  • 2 replies
  • 1723 views
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

    This topic has been closed for replies.
    Best answer by Erwan YVIN
    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

    2 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    November 27, 2017
    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

    Zhang Lei
    Zhang LeiAuthor
    Associate II
    November 29, 2017
    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
    November 29, 2017
    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

    Erwan YVIN
    ST Employee
    November 29, 2017
    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

    Zhang Lei
    Zhang LeiAuthor
    Associate II
    November 29, 2017
    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