change bootloader offset macro

This commit is contained in:
Jason2866
2024-09-17 14:52:05 +02:00
committed by GitHub
parent 69227968b2
commit e8a35ec34d
+1 -1
View File
@@ -1662,7 +1662,7 @@ env.Prepend(
(
board.get(
"upload.bootloader_offset",
"0x0" if mcu in ["esp32c2", "esp32c3", "esp32c6", "esp32s3", "esp32h2"] else ("0x2000" if mcu in ["esp32p4"] else "0x1000"),
"0x1000" if mcu in ["esp32", "esp32s2"] else ("0x2000" if mcu in ["esp32p4"] else "0x0"),
),
os.path.join("$BUILD_DIR", "bootloader.bin"),
),