AnsweredAssumed Answered

Fail to compile new SDK (FreeRTOS v9) on KL17Z

Question asked by Maxime Dolberg on Oct 31, 2016
Latest reply on Feb 16, 2017 by Angel Rodriguez

Hello,

 

I build and downloaded  the last SDK for Kinetis KL17Z from kex.nxp.com and I noticed this version now support FreeRTOS v 9.0.0. I am very excited by this version due its news functions.

 

But when I create a new projetct with KDS v3.2 via the Kinetis SDKv2 project wizard and then compile my new project, compilation failed with these errors :

C:\ ....... \Debug/../freertos/Source/tasks.c:2046: undefined reference to `portRECORD_READY_PRIORITY'

C:\ ....... \Debug/../freertos/Source/tasks.c:2586: undefined reference to `portRECORD_READY_PRIORITY'

....

 

 

It seem that the problems are locate into task.c file and for those API :

 

prvAddTaskToReadyList( pxNewTCB );
taskRESET_READY_PRIORITY( pxTCB->uxPriority );
prvAddTaskToReadyList( pxTCB );
taskSELECT_HIGHEST_PRIORITY_TASK();
prvAddTaskToReadyList( pxUnblockedTCB );

And so on in task.c file. 

 

I have no idea what wrong...

 

How can I fix this ?

Outcomes