esp-idf/examples/system/task_watchdog
Angus Gratton 66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
..
main Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
CMakeLists.txt cmake: make main a component again 2018-09-11 09:44:12 +08:00
example_test.py ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC 2020-06-11 14:22:05 +08:00
Makefile Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00: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.