Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit 8246829

Browse files
committed
modified platform.txt for updated dfu-util
1 parent 94b2460 commit 8246829

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
@@ -115,11 +115,11 @@ tools.stlink.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {up
115115
tools.dfu-util.cmd=dfu-util
116116
tools.dfu-util.cmd.windows=StAr_Write.bat
117117

118-
tools.dfu-util.path={runtime.ide.path}/hardware/tools/dfu-util/bin
118+
tools.dfu-util.path={runtime.ide.path}/hardware/tools/dfu-util/
119119

120120
tools.dfu-util.upload.params.verbose=-v
121121
tools.dfu-util.upload.params.quiet=
122-
tools.dfu-util.upload.pattern="{path}/{cmd}" "{path}" {upload.usbID} {upload.altID} {upload.mem_start} "{build.path}/{build.project_name}.bin"
122+
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
123123

124124
# USB Flags
125125
# ---------

0 commit comments

Comments
 (0)