OVMS3-idf/components/esp32
Angus Gratton 47e789f538 abort handler: Fix abort stack trace when abort() called in ISR
Previously, this resulted in task stack frames turning up incorrectly in the backtrace, ie

Backtrace: 0x400d22a0:0x3ffb0fa0 0x40085a3c:0x3ffb0fc0 0x400f32c4:0x3ffb0fe0 0x40081965:0x3ffb1010
0x400d22a0: esp_vApplicationIdleHook at /home/esp/esp-idf/components/esp32/./freertos_hooks.c:
52
0x40085a3c: prvIdleTask at /home/esp/esp-idf/components/freertos/./tasks.c:4431
0x400f32c4: i2c_isr_handler_default at /home/esp/esp-idf/components/driver/./i2c.c:598
0x40081965: _xt_lowint1 at xtensa_vectors.o:?

Fix is to implement abort() via an unhandled exception rather than a breakpoint, I think
because of relative priority of exception types.

Another approach would be to assign a software-only INUM to abort()ing and defined a
PANIC_RSN_ABORTED, but this is more complex and interrupt numbers are more scarce than RAM!
2017-06-13 10:19:01 +10:00
..
hwcrypto component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
include Merge branch 'bugfix/github_small_prs' into 'master' 2017-05-19 07:51:47 +08:00
ld fix bug that files missing commit in MR 773 2017-05-31 19:37:39 +08:00
lib@8047d46d83 Add dport protect in libphy.a 2017-06-01 19:43:55 +08:00
test component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
app_trace.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
cache_err_int.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
clk.c esp32: select 8M clock as RTC_FAST_CLK on startup 2017-04-27 12:44:54 +08:00
component.mk component/esp32 : fix dualcore bug 2017-05-08 21:53:43 +08:00
core_dump.c esp32: Core dump sanity checks were added 2017-04-26 21:13:02 +03:00
cpu_start.c bugfix:Fix bug that wdt reset information for CPU1 was not correct 2017-06-05 18:26:14 +08:00
crosscore_int.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
deep_sleep.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
dport_access.c fix bug that files missing commit in MR 773 2017-05-31 19:37:39 +08:00
event_default_handlers.c wifi event_default_handlers/tcpip_adapter: Support disabling WiFi, keeping Ethernet 2017-02-24 14:46:23 +11:00
event_loop.c components/esp32: fix renaming of esp_event_set_cb, minor clean up 2016-09-26 12:35:09 +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
heap_alloc_caps.c MR things 2017-03-09 19:59:09 +08:00
hw_random.c esp_random: XOR the RNG register value several times before returning it 2017-01-04 17:07:12 +11:00
int_wdt.c driver: timer 2016-11-23 17:23:21 +08:00
intr_alloc.c esp32: Fixes watchdog problem when printing core dump to uart 2017-02-01 18:39:28 +03:00
ipc.c components/esp32: add inter-processor call API and implement spi_flash through it 2016-09-12 18:54:45 +08:00
Kconfig sdkconfig: set CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 by default 2017-05-25 10:51:39 +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
Makefile.projbuild phy init data: Read PHY init data partition offset from menuconfig 2016-11-18 20:11:16 +08:00
panic.c abort handler: Fix abort stack trace when abort() called in ISR 2017-06-13 10:19:01 +10:00
phy.h soc: add source code of rtc_clk, rtc_pm 2017-04-11 15:45:54 +08:00
phy_init.c Merge branch 'feature/base_mac_address' into 'master' 2017-05-11 12:01:51 +08:00
phy_init_data.h phy init data update 2016-12-19 14:23:39 +08:00
spiram.h Initial public version 2016-08-17 23:08:22 +08:00
system_api.c Merge branch 'feature/get_chip_ver' into 'master' 2017-05-11 12:05:55 +08:00
task_wdt.c Add interrupt allocation scheme / interrupt sharing. Also modifies drivers and examples. Also allows interrupts 2016-12-08 12:39:33 +08:00