Is there an Idle hook?
Is there a tick or context switch hook?
FAQ Top
The idle task is implemented in Source/tasks.c. Look for prvIdleTask. You can add what you like provided the added code does not make the idle task block. Maybe add some code to put the microcontroller into power save mode? The most convenient way of achieving this is through the use of an idle task hook.
Yes if you set configUSE_IDLE_HOOK to 1 in the projects FreeRTOSConfig.h file.
Yes if you set configUSE_TICK_HOOK to 1 in the projects FreeRTOSConfig.h file.