616baa239d
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 |
||
---|---|---|
.. | ||
hwcrypto | ||
rom | ||
xtensa | ||
esp_assert.h | ||
esp_attr.h | ||
esp_brownout.h | ||
esp_cache_err_int.h | ||
esp_clk.h | ||
esp_coexist.h | ||
esp_core_dump.h | ||
esp_crosscore_int.h | ||
esp_deep_sleep.h | ||
esp_deepsleep.h | ||
esp_dport_access.h | ||
esp_err.h | ||
esp_event.h | ||
esp_event_loop.h | ||
esp_flash_data_types.h | ||
esp_freertos_hooks.h | ||
esp_gdbstub.h | ||
esp_int_wdt.h | ||
esp_interface.h | ||
esp_intr.h | ||
esp_intr_alloc.h | ||
esp_ipc.h | ||
esp_now.h | ||
esp_panic.h | ||
esp_phy_init.h | ||
esp_sleep.h | ||
esp_smartconfig.h | ||
esp_spiram.h | ||
esp_ssc.h | ||
esp_system.h | ||
esp_task.h | ||
esp_task_wdt.h | ||
esp_types.h | ||
esp_wifi.h | ||
esp_wifi_crypto_types.h | ||
esp_wifi_internal.h | ||
esp_wifi_types.h | ||
esp_wpa2.h | ||
esp_wps.h |