add P4
This commit is contained in:
+2
-2
@@ -232,7 +232,7 @@ board = env.BoardConfig()
|
|||||||
mcu = board.get("build.mcu", "esp32")
|
mcu = board.get("build.mcu", "esp32")
|
||||||
toolchain_arch = "xtensa-%s" % mcu
|
toolchain_arch = "xtensa-%s" % mcu
|
||||||
filesystem = board.get("build.filesystem", "spiffs")
|
filesystem = board.get("build.filesystem", "spiffs")
|
||||||
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2"):
|
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32p4"):
|
||||||
toolchain_arch = "riscv32-esp"
|
toolchain_arch = "riscv32-esp"
|
||||||
|
|
||||||
if "INTEGRATION_EXTRA_DATA" not in env:
|
if "INTEGRATION_EXTRA_DATA" not in env:
|
||||||
@@ -253,7 +253,7 @@ env.Replace(
|
|||||||
GDB=join(
|
GDB=join(
|
||||||
platform.get_package_dir(
|
platform.get_package_dir(
|
||||||
"tool-riscv32-esp-elf-gdb"
|
"tool-riscv32-esp-elf-gdb"
|
||||||
if mcu in ("esp32c2", "esp32c3", "esp32c6")
|
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32p4")
|
||||||
else "tool-xtensa-esp-elf-gdb"
|
else "tool-xtensa-esp-elf-gdb"
|
||||||
)
|
)
|
||||||
or "",
|
or "",
|
||||||
|
|||||||
Reference in New Issue
Block a user