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

Commit ed52535

Browse files
upd: upload tools
1 parent 1397965 commit ed52535

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

boards.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ star_otto.name=Arduino Star OTTO
55
star_otto.vid.0=0x2A03
66
star_otto.pid.0=0x0058
77

8-
star_otto.upload.tool=dfu-util
8+
star_otto.upload.tool=arduinoSTM32load
99
star_otto.upload.protocol=dfuse
1010

1111
star_otto.upload.use_1200bps_touch=true

platform.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,22 @@ recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
8989
# DFU Util
9090
# --------
9191

92-
tools.dfu-util.path={runtime.tools.dfu-util-0.8.0-stm32-arduino2.path}
93-
tools.dfu-util.cmd=dfu-util
94-
tools.dfu-util.cmd.windows=dfu-util.cmd
92+
#tools.dfu-util.path={runtime.tools.dfu-util-0.9.0-arduino1.path}
93+
#tools.dfu-util.cmd=dfu-util
94+
#tools.dfu-util.cmd.windows=dfu-util.cmd
9595

96-
tools.dfu-util.upload.params.verbose=-v
97-
tools.dfu-util.upload.params.quiet=
98-
tools.dfu-util.upload.pattern="{path}/{cmd}" "{path}" {upload.usbID} {upload.altID} {upload.mem_start} "{build.path}/{build.project_name}.bin" "{serial.port}"
96+
#tools.dfu-util.upload.params.verbose=-v
97+
#tools.dfu-util.upload.params.quiet=
98+
#tools.dfu-util.upload.pattern="{path}/{cmd}" "{path}" {upload.usbID} {upload.altID} {upload.mem_start} "{build.path}/{build.project_name}.bin" "{serial.port}"
99+
100+
#
101+
# arduinoSTM32load
102+
# ----------------
103+
tools.arduinoSTM32load.path={runtime.tools.arduinoSTM32load-1.0.0.path}
104+
tools.arduinoSTM32load.cmd=arduinoSTM32load
105+
tools.arduinoSTM32load.upload.params.verbose=-v
106+
tools.arduinoSTM32load.upload.params.quiet=
107+
tools.arduinoSTM32load.upload.pattern="{path}/{cmd}" -dfu "{runtime.tools.dfu-util-0.9.0-arduino1.path}" -bin "{build.path}/{build.project_name}.bin" -port="{serial.port}" "{upload.params.verbose}"
99108

100109
#
101110
# USB Flags

0 commit comments

Comments
 (0)