Skip to content

Commit 3b904cf

Browse files
authored
Update main.py for c5
1 parent 58f8f5e commit 3b904cf

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
@@ -234,7 +234,7 @@ def __fetch_fs_size(target, source, env):
234234
mcu = board.get("build.mcu", "esp32")
235235
toolchain_arch = "xtensa-%s" % mcu
236236
filesystem = board.get("build.filesystem", "spiffs")
237-
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32p4"):
237+
if mcu in ("esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32h2", "esp32p4"):
238238
toolchain_arch = "riscv32-esp"
239239

240240
if "INTEGRATION_EXTRA_DATA" not in env:
@@ -255,7 +255,7 @@ def __fetch_fs_size(target, source, env):
255255
GDB=join(
256256
platform.get_package_dir(
257257
"tool-riscv32-esp-elf-gdb"
258-
if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32p4")
258+
if mcu in ("esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32h2", "esp32p4")
259259
else "tool-xtensa-esp-elf-gdb"
260260
)
261261
or "",

0 commit comments

Comments
 (0)