From 73fd0d6f6a8e2c40e2b0ae09e9e72e95963d5095 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Fri, 13 Mar 2020 11:52:02 +0100 Subject: [PATCH] [BMP upload] Fix tools path Fixes #986 Signed-off-by: Frederic Pillon --- platform.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.txt b/platform.txt index d24c1bffbc..7e359536ca 100644 --- a/platform.txt +++ b/platform.txt @@ -171,11 +171,11 @@ tools.stm32CubeProg.upload.pattern="{path}/{cmd}" {upload.protocol} "{build.path # blackmagic upload for generic STM32 tools.bmp_upload.cmd=arm-none-eabi-gdb -tools.bmp_upload.path={runtime.tools.arm-none-eabi-gcc.path}/bin/ +tools.bmp_upload.path={runtime.tools.xpack-arm-none-eabi-gcc.path}/bin tools.bmp_upload.upload.speed=230400 tools.bmp_upload.upload.params.verbose=-batch tools.bmp_upload.upload.params.quiet=--batch-silent -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" +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" # HID flash 2.2 (HID bootloader v2.2 for STM32F1 and STM32F4 series) tools.hid_upload.cmd=hid-flash