From 38d36530f22a658a9c7802e9015d89ed2f874489 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 4 Jan 2023 17:00:16 +0100 Subject: [PATCH] tools: gdb_panic_server: add esp32h2 --- 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 e93bb074ea..4b5edf26ea 100644 --- a/tools/gdb_panic_server.py +++ b/tools/gdb_panic_server.py @@ -60,7 +60,8 @@ GDB_REGS_INFO = { 'esp32c3': GDB_REGS_INFO_RISCV_ILP32, 'esp32c2': GDB_REGS_INFO_RISCV_ILP32, 'esp32h4': GDB_REGS_INFO_RISCV_ILP32, - 'esp32c6': GDB_REGS_INFO_RISCV_ILP32 + 'esp32c6': GDB_REGS_INFO_RISCV_ILP32, + 'esp32h2': GDB_REGS_INFO_RISCV_ILP32 } PanicInfo = namedtuple('PanicInfo', 'core_id regs stack_base_addr stack_data') @@ -155,7 +156,8 @@ PANIC_OUTPUT_PARSERS = { 'esp32c3': parse_idf_riscv_panic_output, 'esp32c2': parse_idf_riscv_panic_output, 'esp32h4': parse_idf_riscv_panic_output, - 'esp32c6': parse_idf_riscv_panic_output + 'esp32c6': parse_idf_riscv_panic_output, + 'esp32h2': parse_idf_riscv_panic_output }