Skip to content

Commit bcf0574

Browse files
reppadfpistm
authored andcommitted
fix: add COM port prefix in bmp_upload pattern on Windows
1 parent 706265f commit bcf0574

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform.txt

+1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ tools.bmp_upload.upload.speed=230400
190190
tools.bmp_upload.upload.params.verbose=-batch
191191
tools.bmp_upload.upload.params.quiet=--batch-silent
192192
tools.bmp_upload.upload.pattern="{path}/{cmd}" -nx -b {upload.speed} {upload.verbose} -ex "set confirm off" -ex "target extended-remote {serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "load" -ex "compare-sections" -ex "kill" "{build.path}/{build.project_name}.elf"
193+
tools.bmp_upload.upload.pattern.windows="{path}/{cmd}" -nx -b {upload.speed} {upload.verbose} -ex "set confirm off" -ex "target extended-remote \\.\{serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "load" -ex "compare-sections" -ex "kill" "{build.path}/{build.project_name}.elf"
193194

194195
# HID flash 2.2 (HID bootloader v2.2 for STM32F1 and STM32F4 series)
195196
tools.hid_upload.cmd=hid-flash

0 commit comments

Comments
 (0)