Skip to content

Commit 1edd99d

Browse files
ivankravetsCurclamas
authored andcommitted
Make extra images independent from a prog tool
1 parent b5fa362 commit 1edd99d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: tools/platformio-build.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,10 @@
120120
"-u", "__cxx_fatal_exception"
121121
],
122122

123-
EXTRA_ESPTOOL_UPLOADFLAGS=[
124-
"0x1000", join(FRAMEWORK_DIR, "tools", "sdk", "bin", "bootloader_${BOARD_FLASH_MODE}_${__get_board_f_flash(__env__)}.bin"),
125-
"0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin"),
126-
"0xe000", join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin"),
127-
"0x10000"
123+
FLASH_EXTRA_IMAGES=[
124+
("0x1000", join(FRAMEWORK_DIR, "tools", "sdk", "bin", "bootloader_${BOARD_FLASH_MODE}_${__get_board_f_flash(__env__)}.bin")),
125+
("0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin")),
126+
("0xe000", join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin"))
128127
]
129128
)
130129

0 commit comments

Comments
 (0)