Skip to content

Commit 7501270

Browse files
authored
Update bootloader offset code retrieve
1 parent 216ac92 commit 7501270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ def _skip_prj_source_files(node):
16641664
(
16651665
board.get(
16661666
"upload.bootloader_offset",
1667-
"0x0" if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2") else "0x1000",
1667+
"0x0" if mcu in ["esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2"] else ("0x2000" if mcu in ["esp32p4"] else "0x1000"),
16681668
),
16691669
os.path.join("$BUILD_DIR", "bootloader.bin"),
16701670
),

0 commit comments

Comments
 (0)