KW45 FreeRTOS PRIVILEGED_FUNCTION makes build project error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KW45 FreeRTOS PRIVILEGED_FUNCTION makes build project error

1,395件の閲覧回数
Andy_Wang_JP
Contributor III

Hi NXP Team 

I'm trying to create a new FreeRTOS project in KW45 from the very beginning, which means I select some software components and modules what the project needs, like SPI/CAN/UART etc...

And I start to build my project step by step.

But when I just call the  xTaskCreate() function, there are some error will show as below

Andy_Wang_JP_0-1727692585928.png

And I've checked that may caused by sort of PRIVILEGED_FUNCTION define related.

Then I compare to the FreeRTOS_examples in SDK(version 2.16.0000),but I still can't found out where is the different with my project. 

Could you please help me to fix this problem ? I'm stuck of my project in early phrase, I'm

even not call the vTaskStartScheduler() yet ....

Thanks.

0 件の賞賛
返信
1 返信

1,368件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Hope you are doing well. I would recommend basing your project with a simple FreeRTOS SDK example.

This will help you with all the includes and configuration of your project.

With this base project, you can add other relevant middleware components (SPI, CAN, UART).

 

Regards,

Ricardo

Best Regards,
Ricardo
0 件の賞賛
返信