kopia lustrzana https://github.com/espressif/esp-idf
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 | ||
include | ||
ld | ||
lib@70e3465520 | ||
test | ||
Kconfig | ||
Makefile.projbuild | ||
brownout.c | ||
cache_err_int.c | ||
clk.c | ||
component.mk | ||
core_dump.c | ||
cpu_start.c | ||
crosscore_int.c | ||
dport_access.c | ||
dport_panic_highint_hdl.S | ||
esp_timer.c | ||
esp_timer.h | ||
esp_timer_esp32.c | ||
esp_timer_impl.h | ||
ets_timer_legacy.c | ||
event_default_handlers.c | ||
event_loop.c | ||
fast_crypto_ops.c | ||
freertos_hooks.c | ||
gdbstub.c | ||
hw_random.c | ||
int_wdt.c | ||
intr_alloc.c | ||
ipc.c | ||
lib_printf.c | ||
libhal.a | ||
libstdcc++-cache-workaround.a | ||
panic.c | ||
phy.h | ||
phy_init.c | ||
phy_init_data.h | ||
restore.c | ||
sleep_modes.c | ||
smartconfig.c | ||
smartconfig.h | ||
spiram.c | ||
spiram_psram.c | ||
spiram_psram.h | ||
system_api.c | ||
task_wdt.c | ||
wifi_init.c |