KW45 FreeRTOS PRIVILEGED_FUNCTION makes build project error

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

KW45 FreeRTOS PRIVILEGED_FUNCTION makes build project error

1,397 Views
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 Kudos
Reply
1 Reply

1,370 Views
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 Kudos
Reply