Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d9d3bf4

Browse files
Jason2866pre-commit-ci-lite[bot]
authored andcommitted
add c5 bootloader location to pioarduino script (espressif#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 100ed8e commit d9d3bf4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎tools/pioarduino-build.py‎

Lines changed: 5 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /