Skip to main content
ssk
Associate III
January 19, 2015
Solved

SPC5Studio build failure

  • January 19, 2015
  • 18 replies
  • 4221 views
Posted on January 19, 2015 at 10:45

Hello,

I am trying to build a project created using SPC5Studio Wizard. The steps used are File->New->SPC5Studio Wizard. Afte this I selected SPC560D-DIS as the product line. Then selected all the drivers with OSLess version. I selected all the available applications for this configuration. I tried building one of the application - SPC560Dxx OS-Less Test Application for Discovery, it is giving following errors,

- Symbol 'NULL' could not be resolved

- Symbol 'uint32_t' could not be resolved

- Symbol 'int32_t' could not be resolved

- Symbol 'uint16_t' could not be resolved

- Symbol 'uint8_t' could not be resolved

Similar errors for different defines used in main.c file are there. Few errors are for the functions used like osalThreadSleepMilliseconds().

Can you please help me resolve these? Is any project setting/configuration missing?

Your earliest help in this regard will be highly appreciated.

Thanks in advance for all your help.

Mike.

#virtual-timer #virtual-timer #spc5studio-build #spc56-examples
    This topic has been closed for replies.
    Best answer by Erwan YVIN
    Posted on January 27, 2015 at 11:03

    Hello Mike ,

    CDT ''preprocessor'' built-in does not find the include PATH of the hightec compiler

    It is just a preprocessor but not an issue for the compilation ;)

    if you want to remove these errors

    in

    C/C++ general ==> Preprocesseur Include

    you should add these 2 directories :

    C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\lib\gcc\ppc-ht-eabi\4.6.3\include

    C:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.hightec_1.0.0.201306281422\hightec\ppc-ht-eabi\include

    cf screenshot

    Best Regards

    Erwan

    ________________

    Attachments :

    2015-01-27_110209.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWZu&d=%2Fa%2F0X0000000boO%2FhTDK6GqLn4AoLqSUsLyPRSN0FYQZ2ysQPYEMOozlhZQ&asPdf=false

    18 replies

    ssk
    sskAuthor
    Associate III
    February 26, 2015
    Posted on February 26, 2015 at 10:37

    Hello Erwan,

    I tried using test application imported using Application Wizard for v3.4.2. Still the issue for 'osalVTSetI' remains. Please find attached project.

    Thanks.

    Mike.

    ________________

    Attachments :

    SPC560Dxx_OS-Less_CAN_Test_Application_for_Discovery.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qYZ3&d=%2Fa%2F0X0000000bp3%2FZl2tivAwexkWgEWuLSmJCRSFyhYHqGhK17PBs1_Y3SY&asPdf=false
    Erwan YVIN
    ST Employee
    February 26, 2015
    Posted on February 26, 2015 at 11:10

    Hello Mike ,

    you use a ''deprecated'' AppWizard not compliant for SPC5Studio 3.4.2

    Could you confirm your installation details ?

    Help ==> About SPC5Studio ==> Installation Details

    (Cf Attachment)

    When there is a release, for the update site , you should update all the features

    (SPC5Studio Core , SPC5Studio Appwizard , SPC5-HAL and so on ..)

    (Cf Attachment)

    Best Regards

    Erwan

    ________________

    Attachments :

    2015-02-26_110822.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWTw&d=%2Fa%2F0X0000000boI%2F3M3OutL0vDA7RYE87IrPhaIAeBsDQWmGwlheGeXSwPk&asPdf=false

    2015-02-26_110923.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWlH&d=%2Fa%2F0X0000000boW%2F_S2U0aQ7ooa.X9UpMdIjjyBBE0xWNHAlIjzaP_2mQ_M&asPdf=false
    ssk
    sskAuthor
    Associate III
    February 26, 2015
    Posted on February 26, 2015 at 11:58

    PFA - Installation Details

    I have updated the SPC5Studio using 'select all' option only.

    Thanks.

    Mike.

    ________________

    Attachments :

    Installation_details.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qXCc&d=%2Fa%2F0X0000000bog%2F1j9ZUDj618MmFmyEorZ1MXRSSWDLFPtd1xSLNMry5ys&asPdf=false
    Erwan YVIN
    ST Employee
    February 26, 2015
    Posted on February 26, 2015 at 14:02

    Hello Mike ,

    Have you still your compilation issue ?

    Did you remove the application from your workspace and use the Application Wizard ?

    (Cf Screenshot)

    Best regards

    Erwan

    ________________

    Attachments :

    2015-02-26_140105.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0YB&d=%2Fa%2F0X0000000baO%2Fu_Cb2X1HvlSsOYF6CG6Jo9G9V0e.NqaZm9FYUhAH1N4&asPdf=false
    ssk
    sskAuthor
    Associate III
    February 26, 2015
    Posted on February 26, 2015 at 14:41

    Yes Erwan. I did remove the application from my workspace and used App wizard to include the new test application. Still facing the issue.

    Mike.

    Erwan YVIN
    ST Employee
    February 26, 2015
    Posted on February 26, 2015 at 15:33

    Hello Mike ,

    Strange because your application does not match with the application repository

    SPC5Studio Application Wizard 3.4.1.201502051503 com.st.tools.spc5.app.wizard.feature.feature.group STMicroelectronics

    Do you use the button (Magic Stick) (Cf attachment) ?

    if the problem persists ,Could you switch of the Workspace and try again ?

    Best Regards

    Erwan

    ________________

    Attachments :

    2015-02-26_153120.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qXDG&d=%2Fa%2F0X0000000boh%2FmzfkdTKCWANeuATNHa9NMABgS9d9_fCvEJZAApqjhDw&asPdf=false
    ssk
    sskAuthor
    Associate III
    March 9, 2015
    Posted on March 09, 2015 at 07:04

    Hello Erwan,

    It worked after changing the workspace. Can you please clarify the issue/problem so that in future whenever new release is installed, I cam take care of it.

    Thanks.

    Mike.

    Erwan YVIN
    ST Employee
    March 9, 2015
    Posted on March 09, 2015 at 09:38

    Hello Mike ,

    SPC5Studio is based on Juno eclipse. (cf

    http://www.eclipse.org/

    )

    Eclipse metadata directories could be corrupted if SPC5Studio is closed by Windows Task Killer or switch-off Windows.

    To prevent this, we have planned to have SPC5Studio (for 4.0+) (based on Luna).

         Best Regards

                    Erwan