Skip to content

Commit 29b02a9

Browse files
authored
add P4
1 parent b1bc128 commit 29b02a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def __fetch_fs_size(target, source, env):
232232
mcu = board.get("build.mcu", "esp32")
233233
toolchain_arch = "xtensa-%s" % mcu
234234
filesystem = board.get("build.filesystem", "spiffs")
235-
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2"):
235+
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32p4"):
236236
toolchain_arch = "riscv32-esp"
237237

238238
if "INTEGRATION_EXTRA_DATA" not in env:
@@ -253,7 +253,7 @@ def __fetch_fs_size(target, source, env):
253253
GDB=join(
254254
platform.get_package_dir(
255255
"tool-riscv32-esp-elf-gdb"
256-
if mcu in ("esp32c2", "esp32c3", "esp32c6")
256+
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32p4")
257257
else "tool-xtensa-esp-elf-gdb"
258258
)
259259
or "",

0 commit comments

Comments
 (0)