vicui wrote on Wednesday, July 25, 2012:
hi :
I want to add seed watchdog code in idle task, does it bring other problem ?
vincent
vicui wrote on Wednesday, July 25, 2012:
hi :
I want to add seed watchdog code in idle task, does it bring other problem ?
vincent
rtel wrote on Wednesday, July 25, 2012:
Yes you can add code into the idle, but the code must never attempt to block (call a delay function, or call an API function with a block time specified).
See http://www.freertos.org/RTOS-idle-task.html
Regards.
vicui wrote on Thursday, July 26, 2012:
hi :
I set configUSE_IDLE_HOOK to 1 and define void vApplicationIdleHook( void ), then put my code in the functions , that’s all job I do ?
vincent
jubajube wrote on Tuesday, July 31, 2012:
Yes, that’s exactly what vApplicationIdleHook is there for.