OVMS3-idf/components/esp32
Ivan Grokhotkov 8e8cb1a139 panic: prevent INT WDT from re-triggering in OCD mode
When INT WDT fires, panicHandler is invoked. In OCD mode, panicHandler
sets a breakpoint on the PC from the exception frame and returns.
However in case of INT WDT, interrupt flag is still set in TIMERG1
peripheral, which causes INT WDT to trigger again. This causes an
endless stream of "Core  0 panic'ed (Interrupt wdt timeout on CPU1)"
messages. OpenOCD also gets terribly confused at this point.

Disable watchdogs when exiting panic handler in OCD mode.
Clear TIMERG1 WDT interrupt flag to prevent re-entry into panic handler.
2018-01-09 01:46:24 +08:00
..
hwcrypto hwcrypto: Fix bug with concurrent SHA access 2017-08-25 16:08:03 +10:00
include Merge branch 'feature/esp_intr_set_in_iram' into 'master' 2018-01-04 06:04:05 +08:00
ld esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround 2017-12-27 11:59:54 +11:00
lib@c19d8c7a6c recompile wifi lib with new toolchain 1.22.0-78-g4b87650 2018-01-02 14:23:37 +08:00
test watchdog: enable INT WDT unit test 2017-12-01 20:10:26 +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 the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore 2017-12-19 19:12:58 +08:00
component.mk esp32: Adds Stack Smashing Protection Feature 2017-11-17 12:08:36 +03:00
core_dump.c freertos: deprecate XT_CLOCK_FREQ 2017-10-18 14:19:19 +08:00
cpu_start.c esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround 2017-12-27 11:59:54 +11:00
crosscore_int.c crosscore_int: add support for FREQ_SWITCH event 2017-10-18 12:31:38 +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_clk_internal.h esp_clk.h: make public, add getters for RTC time, CPU/APB freq 2017-10-18 14:19:14 +08:00
esp_timer.c esp_timer: fix for the case when timer is deleted in callback 2017-11-29 11:44:46 +08:00
esp_timer_esp32.c esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct 2017-12-19 20:05:55 +08:00
esp_timer_impl.h esp_timer: add support for frequency scaling 2017-10-18 14:19:18 +08:00
ets_timer_legacy.c wifi/bt coexistence: Fix disabled cache access race when writing to flash 2017-10-16 19:47:33 +08:00
event_default_handlers.c log: Remove non-static TAG variables 2017-12-15 10:59:48 +11: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 New Task Watchdog API (Revert of Revert) 2017-11-02 16:47:51 +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 freertos: deprecate XT_CLOCK_FREQ 2017-10-18 14:19:19 +08:00
int_wdt.c watchdogs: make sure timer group peripherals are enabled 2017-12-01 20:10:26 +08:00
intr_alloc.c Add esp_intr_set_in_iram 2017-12-08 05:46:34 +03:00
ipc.c fix buffer overflow in ipc.c 2017-11-27 18:47:40 +08:00
Kconfig esp32: Fix backwards compatibility for pre-v2.1 bootloaders 2017-12-18 13:45:57 +11: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
libstdc++-psram-workaround.a libstdc++: update the library built with PSRAM workaround 2017-11-23 15:34:23 +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: prevent INT WDT from re-triggering in OCD mode 2018-01-09 01:46:24 +08:00
phy.h soc: add source code of rtc_clk, rtc_pm 2017-04-11 15:45:54 +08:00
phy_init.c refractor WiFi clock setting 2017-11-02 15:24:21 +08:00
phy_init_data.h component/esp32 : update phy & rtc 2017-10-17 18:02:42 +08:00
pm_esp32.c pm: initial implementation for ESP32 2017-10-18 14:19:16 +08:00
pm_impl.h pm: initial implementation for ESP32 2017-10-18 14:19:16 +08:00
pm_locks.c pm: initial version of power management APIs 2017-10-18 14:19:16 +08:00
pm_trace.c pm: support for tracing using GPIOs 2017-10-18 14:19:18 +08:00
pm_trace.h pm: support for tracing using GPIOs 2017-10-18 14:19:18 +08:00
restore.c esp_system: remove link time dependency on WiFi stack 2017-06-15 18:15:36 +08:00
sleep_modes.c soc/rtc: add function to get/set VDDSDIO configuration 2017-11-03 15:49:09 +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 unit tests: fix warnings, build with -Werror 2017-10-19 21:35:23 +08:00
spiram_psram.c Fix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore 2017-12-19 19:12:58 +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
stack_check.c esp32: Adds Stack Smashing Protection Feature 2017-11-17 12:08:36 +03:00
system_api.c esp32: reconfigure SPI flash pins in esp_restart 2017-11-06 16:44:26 +08:00
task_wdt.c watchdogs: make sure timer group peripherals are enabled 2017-12-01 20:10:26 +08:00
wifi_init.c esp32: add power management hooks for WiFi library 2017-10-18 14:19:19 +08:00
wifi_internal.c Allocate some memories in SPIRAM first. 2017-10-13 10:11:24 +08:00