Default IDLE# tasks watchdog timer

First read the Tasks basic on this page, to understand the basic tasks based approach of the ESP-IDF / FreeRTOS. IDLE Watchdog The ESP-IDF created task for each CPU core (called “IDLE0”, and “IDLE 1” if there is a second core) are idle tasks that reset watchdog timeout whenever that respective core is idling. This […]

Read More

Reset watchdog timer and yield in FreeRTOS

You need to yield to FreeRTOS periodically which will also reset the watchdog timer. If you have a simple main loop application (e.g. you are only using one RTOS task) then this is a way to do that, but with the catch you have to release operation for the RTOS tick time (default 10mS): If […]

Read More