I am new in FreeRTOS (version 5.1.0). I used PIC32 starter kit (PIC32MX360F512L)
C32 Compiler v 1.05. I compile it directly using JTAG in PIC32 Starter kit.
On my first, I made 2 simple tasks to turn on 2 LEDs with different vTaskDelay. and it works.
then I try to utilize vApplicationIdleHook… but until now my program never go to this function.
I have made
#define configUSE_IDLE_HOOK 1
I also have declared this in my main function
void vApplicationTickHook( void );
my function is just simple which only turn on the third LED when it is in idle
void vApplicationTickHook( void )
for( ;; )
I also have looked on RTOS viewer in MPLAB IDE v8.60, that Idle Task is running
However, The program never go to vApplicationIdleHook function ( I used breakdown point there)
I am really confused.
Any help figuring this out will be appreciated.
Thanks in advance guys