Merge branch 'bugfix/monitor_backtrace_esp32h2' into 'master'

tools: gdb_panic_server: enable esp32h2 support

Closes IDF-3795

See merge request espressif/esp-idf!15206
This commit is contained in:
Roland Dobai
2021-09-16 10:30:38 +00:00

View File

@@ -69,7 +69,8 @@ GDB_REGS_INFO_RISCV_ILP32 = [
GDB_REGS_INFO = { GDB_REGS_INFO = {
'esp32c3': GDB_REGS_INFO_RISCV_ILP32 'esp32c3': GDB_REGS_INFO_RISCV_ILP32,
'esp32h2': GDB_REGS_INFO_RISCV_ILP32
} }
PanicInfo = namedtuple('PanicInfo', 'core_id regs stack_base_addr stack_data') PanicInfo = namedtuple('PanicInfo', 'core_id regs stack_base_addr stack_data')
@@ -161,7 +162,8 @@ def parse_idf_riscv_panic_output(panic_text): # type: (str) -> PanicInfo
PANIC_OUTPUT_PARSERS = { PANIC_OUTPUT_PARSERS = {
'esp32c3': parse_idf_riscv_panic_output 'esp32c3': parse_idf_riscv_panic_output,
'esp32h2': parse_idf_riscv_panic_output
} }