How to set up FreeRTOS with pic32 ?

Hi , I have problem about setting freertos with mplabx. I followed tutorial from many website , but I still get error look like this build/default/production/newmain.o: In function main': d:/sua/pic projects/pic32mx430f_rtos_test.x/newmain.c:61: undefined reference tovApplicationIdleHook’ please help me fix it.

How to set up FreeRTOS with pic32 ?

Why not use the examples in the FreeRTOS download? When I Google vApplicationIdleHook I find this page: https://www.freertos.org/a00016.html which tells me “The idle hook will only get called if configUSEIDLEHOOK is set to 1 within FreeRTOSConfig.h” – so try either implementing the idle hook as described in the documentation page linked above, or setting configUSEIDLEHOOK to 0.