S32DS1.3 Freertos component built errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS1.3 Freertos component built errors

1,373 Views
ceac-felixli
Contributor I

hello:

when i added freertos component to any new S32DS1.3 Project, when i pressed the  generate the processor expert code  icon, i built the project ,but the project couldn't pass ,and it remain as the below errors:

i dont know what s wrong in my project ,Could you help me confirm it?

thanks.177934_177934.pngfreertos  built errors.png

Labels (1)
0 Kudos
6 Replies

1,021 Views
stanish
NXP Employee
NXP Employee

Hi Felix,

It seems the project has no floating point support enabled.

Please go to project properties -> C/C++ Build -> Settings -> Target Processor and set Float ABI to "Hard" and FPU Type to "fpv4-sp-d16"

pastedImage_1.png

Stan

0 Kudos

1,021 Views
felix-li
Contributor II

Hi ,Stan:

i tried your way,but still had other compile errors,like below:

HWFP error.png

0 Kudos

1,021 Views
stanish
NXP Employee
NXP Employee

Hi Felix,

I can you possibly share your project with us? I cannot reproduce this issue on a simple test case.

Seems there is an issue with include paths  e.g. "configMAX_PRIORITIES" is a macro from "<Project>/Generated_Code/FreeRTOSConfig.h".

Can you check if this path is included? ("Project Properties ->C/C++ General -> Paths and Symbols -> Includes Tab -> Gnu C")

Stan

0 Kudos

1,021 Views
felix-li
Contributor II

Hi ,Stan:

i confirmed it included the Generated_code path in GNU C.

and my project just set as below:

1,File->New->New S32DS Project->S32K144 chip->SDKs : S32K144_SDK_gcc

2,click ProcessorExpert.pe, select components library:FreeRTOS(component reporsitory:SDK_S32K144_03)  to Components.

3,click Generate processorexpert icon button, 

4,Build project.

and errors were display in Problems window.

so Can you give me a user guide for how to add a new Freertos project document?

i am a beginner in S32DS1.3 IDE and S32K144 Mcu

thanks.

0 Kudos

1,021 Views
stanish
NXP Employee
NXP Employee

Felix,

Thanks for the details.

I'm able to reproduce this issue. I'd suggest you:

1) enable Floating point to Hard

2) disable StackOverflow checking (see the screenshot below) and generate the code again. This option is enabled by default and in such case the project expects a callback function associated with this event (stack overflow) to be created by user. So you can either create this callback function or completely disable stack checking to pass the build.

pastedImage_1.png

3) I noticed there may also appear some false positives messages in Problems View. So I'd recommend you to clean the project and Rebuild the indexer (right click on project -> Index -> Rebuild).

FYI:This is a know issue which should be addressed in a next releases.

I'd recommend to you to check result of build in the console view and if the elf file is generated and you observe an errors in Problems View then these errors are false ones.

pastedImage_2.png

Hope it helps.

Stan

1,021 Views
felix-li
Contributor II

hi, Stanishlav:

thanks for your help, i have  finished the compile successfully as your  way.

0 Kudos