tools: gdb_panic_server: enable esp32h2 support

pull/7680/head
Ivan Grokhotkov 2021-09-15 13:00:59 +02:00 zatwierdzone przez Shu Chen
rodzic e43df5fce9
commit 28a89d9c29
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

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