OVMS3-idf/components/esp32
Ivan Grokhotkov 4ce7b666a6 esp32: panic: do digital reset if cache error interrupt is set
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that
the cache error interrupt status is set. For example, this may happen
due to an invalid cache access in the panic handler itself.
Check cache error interrupt status instead of frame->exccause to
decide whether to do CPU reset or digital reset.

Also remove unnecessary esp_dport_access_int_pause from
esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2020-01-30 12:28:22 +01:00
..
include esp32: Remove deprecated system_deep_sleep function 2019-09-19 18:48:14 +10:00
ld esp_wifi: Put some rx code to iram and update phy4180 2019-11-18 02:54:46 +00:00
test Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v4.0' into 'release/v4.0' 2020-01-29 14:25:27 +08:00
brownout.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
cache_err_int.c esp32: panic: do digital reset if cache error interrupt is set 2020-01-30 12:28:22 +01:00
cache_sram_mmu.c Spiram: Add option to reserve MMU banks; add himem API to make use of those banks 2018-10-15 14:32:58 +08:00
clk.c spi: move deprecated functions into internal header 2019-12-24 17:43:32 +08:00
CMakeLists.txt Revert "C++: add provisions for optional RTTI support" 2019-10-31 13:26:53 +07:00
component.mk Revert "C++: add provisions for optional RTTI support" 2019-10-31 13:26:53 +07:00
cpu_start.c esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth 2019-12-09 12:17:16 +08:00
crosscore_int.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
dport_access.c esp32: Fix esp_dport_access_reg_read 2020-01-16 13:31:20 +08:00
dport_panic_highint_hdl.S esp32: Dis interrupts up to 5 lvl for DPORT 2019-07-16 05:54:45 +00:00
esp_adapter.c esp_wifi: fix a WiFi receiving bug 2019-12-26 19:41:04 +08:00
esp_clk_internal.h bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC 2018-03-21 13:27:56 +05:00
esp_himem.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
esp_timer_esp32.c esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set 2020-01-28 21:41:27 +08:00
hw_random.c move esp32 chip specific includes to esp32/xxx.h 2019-03-18 17:14:05 +08:00
int_wdt.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
intr_alloc.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
Kconfig ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM 2019-11-08 08:25:35 +00:00
linker.lf esp32: Use FPU for floating point divide, power, complex multiplications 2019-05-29 10:14:31 +10:00
Makefile.projbuild ldgen: fix build issue on make when build dir is a symlink 2019-08-28 10:28:17 +08:00
panic.c esp32: panic: do digital reset if cache error interrupt is set 2020-01-30 12:28:22 +01:00
pm_esp32.c soc/pm: Remove deprecated use of rtc_cpu_freq_t enum 2019-09-19 18:48:13 +10:00
pm_trace.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
project_include.cmake components: update with build system changes 2019-05-13 19:59:17 +08:00
reset_reason.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
sdkconfig.rename feat(psram): config SPI psram pins based on efuse value 2019-05-28 21:25:16 +08:00
sleep_modes.c esp32: Remove deprecated system_deep_sleep function 2019-09-19 18:48:14 +10:00
spiram.c Rename Kconfig options (components/esp32) 2019-05-21 09:09:01 +02:00
spiram_psram.c spi: move deprecated functions into internal header 2019-12-24 17:43:32 +08:00
spiram_psram.h all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
system_api.c esp32/esp_common: Remove deprecated esp_efuse_read_mac() function 2019-09-19 18:48:30 +10:00
task_wdt.c wdt: Remove deprecated esp_task_wdt_feed() function 2019-09-19 18:48:55 +10:00