OVMS3-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 hwcrypto: Fix bug with concurrent SHA access 2017-08-25 16:08:03 +10:00
include esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
ld Merge branch 'feature/adv_scan_simultaneously' into 'master' 2017-09-13 11:50:57 +08:00
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
brownout.c brownout detector: enable by default 2017-07-10 17:25:55 +08:00
cache_err_int.c esp32: fix cache error interrupt handler 2017-09-08 09:59:09 +08:00
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 add ESPNOW feature 2017-09-12 12:12:13 +08:00
core_dump.c esp32: Core dump sanity checks were added 2017-04-26 21:13:02 +03:00
cpu_start.c esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
crosscore_int.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
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: return signed timestamp (int64_t) 2017-09-01 10:34:36 +08:00
esp_timer.h esp_timer: return signed timestamp (int64_t) 2017-09-01 10:34:36 +08:00
esp_timer_esp32.c esp_timer: lock-free implementation of esp_timer_get_time 2017-09-01 10:34:36 +08:00
esp_timer_impl.h esp_timer: add high resolution software timer API 2017-08-28 11:35:26 +08:00
ets_timer_legacy.c esp_timer: add high resolution software timer API 2017-08-28 11:35:26 +08:00
event_default_handlers.c tcpip_adapter/lwip: optimize wifi/ip event 2017-08-21 14:36:44 +08:00
event_loop.c esp_event_send: check if the event loop is initialized 2017-06-05 11:01:26 +08:00
fast_crypto_ops.c Add the fast crypto function in supplicant 2017-08-09 21:36:13 +08:00
freertos_hooks.c Add comments/headers according to merge request comments 2016-11-15 12:10:02 +08:00
gdbstub.c Fix small bug in gdbstub where it sometimes would not return a valid stop reason, timing out gdb. Also clean up the code a bit. 2016-12-02 17:42:11 +08:00
hw_random.c esp_random: Add some documentation about using before RF subsystem is on 2017-07-11 14:27:20 +08:00
int_wdt.c driver: timer 2016-11-23 17:23:21 +08:00
intr_alloc.c Add logic to make external RAM usable with malloc() 2017-09-28 17:17:50 +08:00
ipc.c startup: Add assertion checks around various initialisation sequences 2017-07-12 13:06:56 +08:00
Kconfig esp32: New Task Watchdog API 2017-09-29 23:10:55 +08:00
lib_printf.c uart_tx_wait_idle: fix issue with last character not transmitted 2016-12-08 01:42:37 +08:00
libhal.a Initial public version 2016-08-17 23:08:22 +08:00
libstdcc++-cache-workaround.a Add initial SPI RAM support. This adds support for an ESP-PSRAM32 chip connected to the default flash pins and GPIO 16 and 17. The RAM is mapped to address 0x3F800000, but otherwise ignored by esp-idf as of yet. 2017-09-04 12:05:49 +08:00
Makefile.projbuild Add initial SPI RAM support. This adds support for an ESP-PSRAM32 chip connected to the default flash pins and GPIO 16 and 17. The RAM is mapped to address 0x3F800000, but otherwise ignored by esp-idf as of yet. 2017-09-04 12:05:49 +08:00
panic.c Panic: stop dport access handler without trying to use a lock 2017-09-11 17:24:22 +08:00
phy.h soc: add source code of rtc_clk, rtc_pm 2017-04-11 15:45:54 +08:00
phy_init.c kconfig: Remove Wi-Fi on/off as a menuconfig option 2017-08-16 15:55:28 +05:30
phy_init_data.h phy init data update 2016-12-19 14:23:39 +08:00
restore.c esp_system: remove link time dependency on WiFi stack 2017-06-15 18:15:36 +08:00
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 Add initial SPI RAM support. This adds support for an ESP-PSRAM32 chip connected to the default flash pins and GPIO 16 and 17. The RAM is mapped to address 0x3F800000, but otherwise ignored by esp-idf as of yet. 2017-09-04 12:05:49 +08:00
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 wifi: refactor code to match ethernet's init function structure 2017-08-18 08:33:02 +05:30