S32K144,Used S32DS if add freertos,it will compiler error ,why?
Hi ,can you fix this compile error? How to fix it? Thanks.
Hello,
please open FreeRTOS example from SDK software example list (click File->New->New S32DS project from Example) and choose S32K144_FreeRTOS_Example. Please see the figure below.
Compare, what is different in your project.
Regards,
Martin
HI Martin:
thank you for your answer,My configuration parameters as same as the S32K144_FreeRTOS_Example,but i find a difference is the FreeRTOS version,the Example version is V8.0.0,and my version is V8.2.1
Please see the figure below:
My project compiler error like this:
Regards,
Xie
Hello Xie,
which version of S32 Design Studio and which version of SDK you use? I strongly recommend you to use S32DS v1.3 with update 2 and use the newest version of SDK (v 1.0.0).
Regards,
Martin
So am i,my SDK is V1.0.0 and S32DS is v1.3 ,but if i want to add the freeRTOS in my project,it still compiler error.The error code as before,The picture i have replied you last time.
Can not be directly added to it in a new project like this? the relevant parameters have been configured as same as the example.
Could you try to add FreeRTOS ?if not you can try to do.
By the way,if add the flexio_spi also compiler error.
Hello,
I need to check on my side. Please give me some time.
Regards,
Martin
Hello Martin:
How about the progress of this issue?
Regards
Xie
Hello Xie,
at first, when you create new project, you must choose newlib_nano library
Then look at the project settings:
If you use the same settings as in the figures above, you should be able to compile the project.
Regards,
Martin
Martin:
Thank you very much,There is another question for you,How to use the FreeRTOS in simulink? I have already downloded the Model ToolBox,but it has not the FreeROTS block.
Regards
Xie
Hello Xie,
I do not know Model ToolBox and I have no experience with this software, so I cannot give you any advice, but if you write your question at the community below, there are experts who could provide you some useful information.
https://community.nxp.com/community/mbdt
Regards,
Martin
Hi Martin:
in my project,the freertos is ok now,but if i add the Flexcan,it compiler error yet.
how can i do?
thank you !~
Hi Xie,
As Martin suggested please open a topic in https://community.nxp.com/community/mbdt and provide a description of the things you want to achieve.
Thank you!
Daniel