Calling vTaskList() inside IDLE task
Hi
Is it safe to call the API vTaskList() inside Idle task ?
Thank you
Michael
Calling vTaskList() inside IDLE task
vTaskList() does not call any blocking functions, so yes it should be safe. You need to make sure you give the idle task enough stack space, especially if you are going to use formatted text output. The stack size for the idle task is set by configMINIMALSTACKSIZE in FreeRTOSConfig.h.
Calling vTaskList() inside IDLE task
Thank you very much Richard.