Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/pioarduino-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ def add_tinyuf2_extra_image():
LIBSOURCE_DIRS=[join(FRAMEWORK_DIR, "libraries")],
FLASH_EXTRA_IMAGES=[
(
"0x1000" if build_mcu in ["esp32", "esp32s2"] else ("0x2000" if build_mcu in ["esp32p4"] else "0x0000"),
(
"0x1000"
if build_mcu in ["esp32", "esp32s2"]
else ("0x2000" if build_mcu in ["esp32p4", "esp32c5"] else "0x0000")
),
get_bootloader_image(variants_dir),
),
("0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin")),
Expand Down
Loading