Merge branch 'docs/add_wdt_panic_note' into 'master'

docs: add note about configuring panic/system reset for task WDT

Closes IDFGH-9651

See merge request espressif/esp-idf!22785
This commit is contained in:
Marius Vikhammer 2023-03-23 14:37:50 +08:00
commit 8f26d66b62

View File

@ -112,6 +112,11 @@ The following config options control TWDT configuration. They are all enabled by
- :ref:`CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0` - {IDF_TARGET_IDLE_TASK} is subscribed to the TWDT during startup. If this option is disabled, it is still possible to subscribe the idle task by calling :cpp:func:`esp_task_wdt_init` again.
:not CONFIG_FREERTOS_UNICORE: - :ref:`CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1` - CPU1 Idle task is subscribed to the TWDT during startup.
.. note::
On a TWDT timeout the default behaviour is to simply print a warning and a backtrace before continuing running the app. If you want a timeout to cause a panic and a system reset then this can be configured through :ref:`CONFIG_ESP_TASK_WDT_PANIC`.
.. only:: SOC_XT_WDT_SUPPORTED
XTAL32K Watchdog Timer (XTWDT)