esp-idf/examples/system/task_watchdog
Angus Gratton 800bffb8b0 cmake: Add CMakeLists.txt files for all examples
Generating using convert_to_cmake.py, with some minor cleanup
2018-04-30 09:59:20 +10:00
..
main New Task Watchdog API (Revert of Revert) 2017-11-02 16:47:51 +08:00
CMakeLists.txt cmake: Add CMakeLists.txt files for all examples 2018-04-30 09:59:20 +10:00
Makefile New Task Watchdog API (Revert of Revert) 2017-11-02 16:47:51 +08:00
README.md New Task Watchdog API (Revert of Revert) 2017-11-02 16:47:51 +08:00

Example: task_watchdog

This test code shows how to initialize the task watchdog, add tasks to the watchdog task list, feeding the tasks, deleting tasks from the watchdog task list, and deinitializing the task watchdog.

Test:

Program should run without error. Comment out "esp_task_wdt_feed()" to observe a watchdog timeout.