File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -418,6 +418,10 @@ GenF103.menu.upload_method.serialMethod=Serial
418
418
GenF103.menu.upload_method.serialMethod.upload.protocol=maple_serial
419
419
GenF103.menu.upload_method.serialMethod.upload.tool=serial_upload
420
420
421
+ GenF103.menu.upload_method.bmpMethod=BMP (Black Magic Probe)
422
+ GenF103.menu.upload_method.bmpMethod.upload.protocol=gdb_bmp
423
+ GenF103.menu.upload_method.bmpMethod.upload.tool=bmp_upload
424
+
421
425
###############################
422
426
# Maple
423
427
Maple.name=Maple series
Original file line number Diff line number Diff line change @@ -172,3 +172,11 @@ tools.serial_upload.path.linux64={runtime.hardware.path}/tools/linux64
172
172
tools.serial_upload.upload.params.verbose=-d
173
173
tools.serial_upload.upload.params.quiet=n
174
174
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
175
+
176
+ # blackmagic upload for generic STM32
177
+ tools.bmp_upload.cmd=arm-none-eabi-gdb
178
+ tools.bmp_upload.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
179
+ tools.bmp_upload.upload.speed=230400
180
+ tools.bmp_upload.upload.params.verbose=-batch
181
+ tools.bmp_upload.upload.params.quiet=--batch-silent
182
+ 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"
You can’t perform that action at this time.
0 commit comments