OVMS3-idf/components/freertos
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
..
include/freertos esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
test esp32: Fixes crash during core dump. 2017-09-11 17:20:42 +03:00
component.mk build system: Restore ifdef/ifndef in Makefiles, clean up examples build 2017-09-05 16:11:03 +10:00
croutine.c Add UNTESTED_FUNCTION() call to untested functions, make Kconfig option to enable that to map to assert() 2016-09-27 11:36:30 +08:00
event_groups.c freertos: Fix cross-core usage of event groups 2017-02-28 12:06:36 +11:00
FreeRTOS-openocd.c freertos: place uxTopUsedPriority into DRAM 2017-09-11 20:15:27 +08:00
Kconfig freertos: introduce CONFIG_FREERTOS_INTERRUPT_BACKTRACE 2017-08-29 08:54:26 +08:00
license.txt Initial public version 2016-08-17 23:08:22 +08:00
list.c Initial public version 2016-08-17 23:08:22 +08:00
port.c Heap tracing support 2017-09-07 16:32:05 +10:00
portasm.S esp32: SEGGER SystemView Tracing Support 2017-06-27 20:52:43 +03:00
portmux_impl.h portmux: Add vPortCPUAcquireMutexTimeout() function 2017-09-04 19:11:51 +10:00
queue.c esp32: SEGGER SystemView Tracing Support 2017-06-27 20:52:43 +03:00
readme_xtensa.txt Initial public version 2016-08-17 23:08:22 +08:00
ringbuf.c Fix an assert that erroneously triggered when popping a zero-byte payload from the end of the ringbuffer 2017-08-28 19:31:26 +08:00
stdint.readme Initial public version 2016-08-17 23:08:22 +08:00
tasks.c esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
timers.c esp32: SEGGER SystemView Tracing Support 2017-06-27 20:52:43 +03:00
xtensa_context.S fix bug that files missing commit in MR 773 2017-05-31 19:37:39 +08:00
xtensa_init.c Initial public version 2016-08-17 23:08:22 +08:00
xtensa_intr.c esp32: SEGGER SystemView Tracing Support 2017-06-27 20:52:43 +03:00
xtensa_intr_asm.S Replace non-multicore-aware rom funcs with multicore-aware funcs, ESP_LOG->ESP_EARLY_LOG fix, reserve ints used in wireless libs. Fixes WiFi crashing 2016-12-13 13:24:01 +08:00
xtensa_overlay_os_hook.c Initial public version 2016-08-17 23:08:22 +08:00
xtensa_vector_defaults.S Break out high-level interrupts so a component can override them 2017-07-07 12:51:33 +08:00
xtensa_vectors.S freertos: introduce CONFIG_FREERTOS_INTERRUPT_BACKTRACE 2017-08-29 08:54:26 +08:00