esp-idf/components/esp32
Darian Leung 037c079e9a esp32: Refactor backtrace and add esp_backtrace_print()
This commit refactors backtracing within the panic handler so that a common
function esp_backtrace_get_next_frame() is used iteratively to traverse a
callstack.

A esp_backtrace_print() function has also be added that allows the printing
of a backtrace at runtime. The esp_backtrace_print() function allows unity to
print the backtrace of failed test cases and jump back to the main test menu
without the need reset the chip. esp_backtrace_print() can also be used as a
debugging function by users.

- esp_stack_ptr_is_sane() moved to soc_memory_layout.h
- removed uncessary includes of "esp_debug_helpers.h"
2019-06-19 18:30:18 +08:00
..
include
ld
test
CMakeLists.txt
Kconfig
Makefile.projbuild
brownout.c
cache_err_int.c
cache_sram_mmu.c
clk.c
component.mk
cpu_start.c
crosscore_int.c
dport_access.c
dport_panic_highint_hdl.S
esp_adapter.c
esp_clk_internal.h
esp_himem.c
esp_timer_esp32.c
gdbstub.c
hw_random.c
int_wdt.c
intr_alloc.c
linker.lf
panic.c
pm_esp32.c
pm_trace.c
project_include.cmake
reset_reason.c
sdkconfig.rename
sleep_modes.c
spiram.c
spiram_psram.c
spiram_psram.h
system_api.c
task_wdt.c