Skip to content

Commit fd709f6

Browse files
authored
c5 has bootloader offset 0x2000
1 parent 5793caf commit fd709f6

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
@@ -1973,7 +1973,7 @@ def _skip_prj_source_files(node):
19731973
(
19741974
board.get(
19751975
"upload.bootloader_offset",
1976-
"0x1000" if mcu in ["esp32", "esp32s2"] else ("0x2000" if mcu in ["esp32p4"] else "0x0"),
1976+
"0x1000" if mcu in ["esp32", "esp32s2"] else ("0x2000" if mcu in ["esp32c5", "esp32p4"] else "0x0"),
19771977
),
19781978
os.path.join("$BUILD_DIR", "bootloader.bin"),
19791979
),

0 commit comments

Comments
 (0)