Skip to content

Commit f5be507

Browse files
committed
[BMP upload] Fix tools path
Fixes #986 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 05ef859 commit f5be507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ tools.stm32CubeProg.upload.pattern="{path}/{cmd}" {upload.protocol} "{build.path
171171

172172
# blackmagic upload for generic STM32
173173
tools.bmp_upload.cmd=arm-none-eabi-gdb
174-
tools.bmp_upload.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
174+
tools.bmp_upload.path={runtime.tools.xpack-arm-none-eabi-gcc.path}/bin
175175
tools.bmp_upload.upload.speed=230400
176176
tools.bmp_upload.upload.params.verbose=-batch
177177
tools.bmp_upload.upload.params.quiet=--batch-silent
178-
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"
178+
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"
179179

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

0 commit comments

Comments
 (0)