OVMS3-idf/components/app_trace
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
..
gcov esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
include esp32: Adds gcov over JTAG feature 2017-09-07 18:13:16 +03:00
sys_view apptrace lock acquire function was re-designed to minimize waiting time with disabled IRQs 2017-09-04 20:44:11 +08:00
test esp32: SEGGER SystemView Tracing Support 2017-06-27 20:52:43 +03:00
app_trace.c esp32: Fixes double initialization of apptrace down ring buffer in dual core mode 2017-09-15 22:45:21 +03:00
app_trace_util.c apptrace lock acquire function was re-designed to minimize waiting time with disabled IRQs 2017-09-04 20:44:11 +08:00
component.mk esp32: Adds gcov over JTAG feature 2017-09-07 18:13:16 +03:00
host_file_io.c esp32: Fixes double initialization of apptrace down ring buffer in dual core mode 2017-09-15 22:45:21 +03:00
Kconfig esp32: Apptrace API enhancement 2017-07-24 19:57:44 +03:00