if add freertos,it will compiler error ,why?

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

if add freertos,it will compiler error ,why?

1,887 Views
eautopower
Contributor IV

S32K144,Used S32DS if add freertos,it will compiler error ,why?

0 Kudos
12 Replies

1,424 Views
赵子成
Contributor IV

Hi ,can you fix this compile error? How to fix it? Thanks.

0 Kudos

1,424 Views
martin_kovar
NXP Employee
NXP Employee

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.

pastedImage_10.png

Compare, what is different in your project.

Regards,

Martin

0 Kudos

1,424 Views
eautopower
Contributor IV

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:

pastedImage_1.png

My project  compiler error like this:

Regards,

Xie

0 Kudos

1,424 Views
martin_kovar
NXP Employee
NXP Employee

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

0 Kudos

1,424 Views
eautopower
Contributor IV

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.

pastedImage_2.png

pastedImage_5.png

Could you try to add FreeRTOS ?if not you can try to do.

By the way,if add the flexio_spi also compiler error.

0 Kudos

1,424 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

I need to check on my side. Please give me some time.

Regards,

Martin

0 Kudos

1,424 Views
eautopower
Contributor IV

Hello Martin:

   How about the progress of this issue?

   Regards

   Xie

0 Kudos

1,424 Views
martin_kovar
NXP Employee
NXP Employee

Hello Xie,

at first, when you create new project, you must choose newlib_nano library

pastedImage_1.png

Then look at the project settings:

pastedImage_2.png

If you use the same settings as in the figures above, you should be able to compile the project.

Regards,

Martin

0 Kudos

1,424 Views
eautopower
Contributor IV

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

0 Kudos

1,424 Views
martin_kovar
NXP Employee
NXP Employee

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

0 Kudos

1,424 Views
eautopower
Contributor IV

Hi Martin:

  in my project,the freertos is ok now,but if i add the Flexcan,it  compiler error yet.

pastedImage_1.png

pastedImage_2.png

how can i  do?

thank you !~

0 Kudos

1,424 Views
dumitru-daniel_
NXP Employee
NXP Employee

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

0 Kudos