Skip to content

Commit f7a586c

Browse files
authored
Fix bootloader offset code retrieve
1 parent bbefb1c commit f7a586c

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
@@ -1668,7 +1668,7 @@ def _skip_prj_source_files(node):
16681668
(
16691669
board.get(
16701670
"upload.bootloader_offset",
1671-
"0x0" if mcu in ("esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2") else ("0x2000" if mcu in ("esp32p4") else "0x1000"),
1671+
"0x0" if mcu in ["esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2"] else ("0x2000" if mcu in ["esp32p4"] else "0x1000"),
16721672
),
16731673
os.path.join("$BUILD_DIR", "bootloader.bin"),
16741674
),

0 commit comments

Comments
 (0)