esp32c6: introduce the target

Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
This commit is contained in:
songruojing
2022-08-10 19:01:42 +08:00
committed by Song Ruo Jing
parent 1669a5d861
commit 304a8f142d
28 changed files with 59 additions and 5 deletions

View File

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