esp-idf/examples/system
Darian Leung 616baa239d esp32: New Task Watchdog API
Legacy API of task watchdog used the same function esp_task_wdt_feed() to add
and feed a task. This caused issues of implicitly adding a task to the wdt list
if the function was used in shared code.

The new API introduces init, adding, feeding, deleting, deinit functions. Tasks
must now be explicitly added to the task watchdog using their handles. Deletion
must also be explicit using task handles. This resolves the issue of implicit
task additions to the task watchdog due to shared code calling
esp_task_wdt_feed().

Task watchdog is now fully configurable at runtime by calling the init and
deinit functions.

Also added functions to get the handles of idle tasks of the other core. This
helps when adding idle tasks to the watchdog at run time.

Configuring the task watchdog using menu config is still available, however
menu config will only result in calling the init and add functions for idle
tasks shortly after the scheduler starts.

Menu config also allows for using legacy behavior, however the legacy behavior
willcall the new API functions but with slight variations to make them legacy
compatible.

Documentation and example have also been updated

gcov_rtio.c headers updated to prevent error of freertos header files being
included in the wrong order.

Resolves issue TW#13265
2017-09-29 23:10:55 +08:00
..
app_trace_to_host Mass replacement of http with https urls, fixed broken urls 2017-09-06 08:16:01 +02:00
base_mac_address Optimize configuration of base MAC address 2017-05-10 10:15:07 +08:00
console sleep: add light sleep, factor out APIs common for deep/light sleep 2017-09-01 10:36:14 +08:00
deep_sleep sleep: add light sleep, factor out APIs common for deep/light sleep 2017-09-01 10:36:14 +08:00
gcov esp32: Adds gcov over JTAG feature 2017-09-07 18:13:16 +03:00
ota bootloader: Fallback if OTA data is invalid 2017-08-15 09:42:19 +10:00
task_watchdog esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
ulp sleep: add light sleep, factor out APIs common for deep/light sleep 2017-09-01 10:36:14 +08:00
ulp_adc sleep: add light sleep, factor out APIs common for deep/light sleep 2017-09-01 10:36:14 +08:00
README.md Added README.md to example category folders 2017-01-18 21:03:15 +01:00

System Examples

Configuration and management of memory, interrupts, WDT (watchdog timer), OTA (over the air updates), deep sleep and logging.

See the README.md file in the upper level examples directory for more information about examples.