Skip to content

Commit 35cae15

Browse files
JAndrassysandeepmistry
authored andcommitted
platform.txt - added arduinoOTA upload keys for Arduino M0 (AVRDUDE)
1 parent dd2916f commit 35cae15

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ tools.avrdude.upload.pattern="{cmd}" "-C{config.path}" {upload.verbose} -p{build
128128

129129
tools.avrdude_remote.upload.pattern="openocd --version 2>&1 | grep 2016 && if opkg update; then opkg upgrade openocd; exit 1; else echo 'Please connect your board to the Internet in order to upgrade tools' >&2; exit 1; fi || /usr/bin/run-avrdude /tmp/sketch.hex"
130130

131+
tools.avrdude.network_cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA
132+
tools.avrdude.upload.network_pattern="{network_cmd}" -address {serial.port} -port 65280 -username arduino -password "{network.password}" -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b
133+
131134
#
132135
# BOSSA
133136
#

0 commit comments

Comments
 (0)