Hi,
I don’t know what version of FreeRTOS I used before but I can see this FreeRTOS V7.0.2.
I went back to that project and I added only this line
#define configUSE_IDLE_HOOK 1
I added this API, void vApplicationIdleHook( void ).
The API wasn’t call at all. Then I copied all FreeRTOS v10.0.0 files to overwrite the old files, after that the API was called.
I’m doing verification for API’s.
TASKA and TASKB with priority 1. TASKA waits 5 sec before toggling LED, and TASKB waits 3 sec before toggling LED. vApplicationIdleHook( void ) suppose to toggle another LED, but it never called. FreeRTOS v10.0.0 solved it.