Skip to content

Commit f0e665e

Browse files
author
sebba
authored
Update platform.txt
Fixing error for PR
1 parent 26328c1 commit f0e665e

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
@@ -119,7 +119,7 @@ tools.stlink.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {up
119119
tools.dfu-util.cmd=dfu-util
120120
tools.dfu-util.cmd.windows=StAr_Write.bat
121121

122-
tools.dfu-util.path={runtime.ide.path}/hardware/tools/dfu-util/bin
122+
tools.dfu-util.path={runtime.ide.path}/hardware/tools/dfu-util/
123123

124124
tools.dfu-util.upload.params.verbose=-v
125125
tools.dfu-util.upload.params.quiet=
@@ -131,4 +131,4 @@ tools.dfu-util.upload.pattern="{path}/{cmd}" "{path}" {upload.usbID} {upload.alt
131131
# Default usb manufacturer will be replaced at compile time using
132132
# numeric vendor ID if available or by board's specific value.
133133
build.usb_manufacturer="Unknown"
134-
build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
134+
tools.dfu-util.upload.pattern="{path}/{cmd}" "{path}" -l -d {upload.usbID} -a {upload.altID} -s {upload.mem_start} -O "{build.path}/{build.project_name}.bin" -f 0x08000000

0 commit comments

Comments
 (0)