AnsweredAssumed Answered

Processor Expert : FreeRTOS TICKLESS_IDLE decision hook

Question asked by Jan Glos on Mar 21, 2019
Latest reply on Apr 11, 2019 by Ovidiu-marius Alexandru

Hi all, 

 

I try to generate tickless idle decision hook in the Processor Expert of NXP Design Studio, there is an option during the configuration:

Which generate:

configUSE_TICKLESS_IDLE_DECISION_HOOK 1 and

configUSE_TICKLESS_IDLE_DECISION_HOOK_NAME in the FreeRTOSConfig.h.

 

I have come across ports of FreeRTOS where the implemantation has been made in task.c (line 3336 & 3337)

 

I talked about marked line:

 

 

In my implementation of task.c I can't decide when we can't enter to idle mode, see below implementation :

 

I use new S32SDK_S32K1xx_RTM_3.0.0. but the same problem exist in BETA v2.9.2 

 

Do You able to generate this code in your SDK or know what's the reason ? It's SDK or FreeRTOS fault ?

 

Thanks in advance, Jan

Outcomes