Skip to content

Commit 44e0e70

Browse files
add c5 bootloader location to pioarduino script (#10889)
* add c5 bootloader location to pioarduino script * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent def86ec commit 44e0e70

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/pioarduino-build.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ def add_tinyuf2_extra_image():
213213
LIBSOURCE_DIRS=[join(FRAMEWORK_DIR, "libraries")],
214214
FLASH_EXTRA_IMAGES=[
215215
(
216-
"0x1000" if build_mcu in ["esp32", "esp32s2"] else ("0x2000" if build_mcu in ["esp32p4"] else "0x0000"),
216+
(
217+
"0x1000"
218+
if build_mcu in ["esp32", "esp32s2"]
219+
else ("0x2000" if build_mcu in ["esp32p4", "esp32c5"] else "0x0000")
220+
),
217221
get_bootloader_image(variants_dir),
218222
),
219223
("0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin")),

0 commit comments

Comments
 (0)