tools: gdb_panic_server: enable esp32h2 support

This commit is contained in:
Ivan Grokhotkov 2021-09-15 13:00:59 +02:00 committed by Shu Chen
parent e43df5fce9
commit 28a89d9c29

View File

@ -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
}