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 8cf0818

Browse files
make adresses for partitions.bin and boot_app0.bin configureable (espressif#11534)
1 parent 2592a7b commit 8cf0818

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎tools/pioarduino-build.py‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,14 @@ def add_tinyuf2_extra_image():
216216
"0x1000" if build_mcu in ["esp32", "esp32s2"] else ("0x2000" if build_mcu in ["esp32p4"] else "0x0000"),
217217
get_bootloader_image(variants_dir),
218218
),
219-
("0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin")),
220-
("0xe000", join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin")),
219+
(
220+
board_config.get("upload.arduino.partitions_bin", "0x8000"),
221+
join(env.subst("$BUILD_DIR"), "partitions.bin"),
222+
),
223+
(
224+
board_config.get("upload.arduino.boot_app0", "0xe000"),
225+
join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin"),
226+
),
221227
]
222228
+ [(offset, join(FRAMEWORK_DIR, img)) for offset, img in board_config.get("upload.arduino.flash_extra_images", [])],
223229
)

0 commit comments

Comments
(0)

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