Skip to content

Commit fdba8f4

Browse files
authored
Don't escape folders which are already arguments
1 parent d92c768 commit fdba8f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/platformio-build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@
109109
],
110110

111111
UPLOADERFLAGS=[
112-
"0x1000", '"%s"' % join(FRAMEWORK_DIR, "tools", "sdk", "bin", "bootloader.bin"),
113-
"0x8000", '"%s"' % join("$BUILD_DIR", "partitions.bin"),
114-
"0xe000", '"%s"' % join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin"),
112+
"0x1000", join(FRAMEWORK_DIR, "tools", "sdk", "bin", "bootloader_${BOARD_FLASH_MODE}_${__get_board_f_flash(__env__)}.bin"),
113+
"0x8000", join("$BUILD_DIR", "partitions.bin"),
114+
"0xe000", join(FRAMEWORK_DIR, "tools", "partitions", "boot_app0.bin"),
115115
"0x10000"
116116
]
117117
)

0 commit comments

Comments
 (0)