From 28a89d9c29b119db0470ef247854f4b13fb43579 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 15 Sep 2021 13:00:59 +0200 Subject: [PATCH] tools: gdb_panic_server: enable esp32h2 support --- tools/gdb_panic_server.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/gdb_panic_server.py b/tools/gdb_panic_server.py index 89b5ab93e0..0362c57c21 100644 --- a/tools/gdb_panic_server.py +++ b/tools/gdb_panic_server.py @@ -69,7 +69,8 @@ GDB_REGS_INFO_RISCV_ILP32 = [ 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') @@ -161,7 +162,8 @@ def parse_idf_riscv_panic_output(panic_text): # type: (str) -> PanicInfo PANIC_OUTPUT_PARSERS = { - 'esp32c3': parse_idf_riscv_panic_output + 'esp32c3': parse_idf_riscv_panic_output, + 'esp32h2': parse_idf_riscv_panic_output }