cancel
Showing results for 
Search instead for 
Did you mean: 

SPC5Studio build failure

ssk
Associate II
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
18 REPLIES 18
Erwan YVIN
ST Employee
Posted on February 25, 2015 at 15:31

Hello Mike ,

Your application does not come from the application wizard ''SPC5Studio 3.4.2''.

OSAL Components have been updated from 3.2.X. (API Function osalVTSetI by VTSetI)

2 choices :

1) if you have not important settings : Remove this application and reimport it from the application wizard.

2) if you have some personal settings on CAN : export it to save it, Remove this application and reimport by the application wizard (cf attachment)

it should work 😉

Best regards

Erwan

________________

Attachments :

2015-02-25_153024.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWSz&d=%2Fa%2F0X0000000boH%2FBtRAW8an6SMPQ_NAa3yTu9siGFj8lHjEJVQgoMkNZKI&asPdf=false
ssk
Associate II
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
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
Associate II
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
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
Associate II
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
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
Associate II
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
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