esp-idf/components/esp32
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
..
hwcrypto
include esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
ld
lib@70e3465520 esp32: support wifi country code 2017-09-26 13:36:53 +08:00
test Make 80MHz PSRAM work as well, add testcase for weirdness reported on esp32 forums, clean up unused define in psram code 2017-09-14 10:47:44 +08:00
Kconfig esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
Makefile.projbuild
brownout.c
cache_err_int.c
clk.c fix(global, log): fix `esp_log(_early)_timestamp` readings after startup by correct the CCOUNT register when switching CPU clock. 2017-09-26 15:18:17 +08:00
component.mk
core_dump.c
cpu_start.c esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
crosscore_int.c
dport_access.c esp32: exclude DPORT-related code in single core mode 2017-09-22 12:07:05 +08:00
dport_panic_highint_hdl.S esp32: exclude DPORT-related code in single core mode 2017-09-22 12:07:05 +08:00
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 Add logic to make external RAM usable with malloc() 2017-09-28 17:17:50 +08:00
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 light sleep: make sure code to be placed into IRAM is not inlined 2017-09-22 11:41:30 +08:00
smartconfig.c Refractor smartconfig 2017-09-13 16:55:30 +08:00
smartconfig.h Refractor smartconfig 2017-09-13 16:55:30 +08:00
spiram.c Add logic to make external RAM usable with malloc() 2017-09-28 17:17:50 +08:00
spiram_psram.c Make 80MHz PSRAM work as well, add testcase for weirdness reported on esp32 forums, clean up unused define in psram code 2017-09-14 10:47:44 +08:00
spiram_psram.h
system_api.c Add logic to make external RAM usable with malloc() 2017-09-28 17:17:50 +08:00
task_wdt.c esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
wifi_init.c