Skip to content

Commit 57e4458

Browse files
authored
Update bootloader offset code retrieve
1 parent 187e1cb commit 57e4458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ def _skip_prj_source_files(node):
16671667
(
16681668
board.get(
16691669
"upload.bootloader_offset",
1670-
"0x0" if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2") else "0x1000",
1670+
"0x0" if mcu in ["esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2"] else ("0x2000" if mcu in ["esp32p4"] else "0x1000"),
16711671
),
16721672
os.path.join("$BUILD_DIR", "bootloader.bin"),
16731673
),

0 commit comments

Comments
 (0)