How to set up FreeRTOS with pic32 ?

dumrong wrote on Tuesday, March 05, 2019:

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 to vApplicationIdleHook’

please help me fix it.

rtel wrote on Tuesday, March 05, 2019:

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 configUSE_IDLE_HOOK is set to 1 within
FreeRTOSConfig.h” - so try either implementing the idle hook as
described in the documentation page linked above, or setting
configUSE_IDLE_HOOK to 0.