KW45 FreeRTOS PRIVILEGED_FUNCTION makes build project error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KW45 FreeRTOS PRIVILEGED_FUNCTION makes build project error

1,393 次查看
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,366 次查看
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 项奖励
回复