File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ tools.avrdude.upload.params.quiet=-q -q
126
126
tools.avrdude.upload.params.noverify=-V
127
127
tools.avrdude.upload.pattern="{cmd}" "-C{config.path}" {upload.verbose} -p{build.emu.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
128
128
129
- tools.avrdude_remote.upload.pattern="if openocd --version 2>&1 | grep 2017 ; then /usr/bin/run-avrdude /tmp/sketch.hex && exit 0; else if ping -q -w 1 -c 1 www.arduino.org > /dev/null; then opkg update > /dev/null && opkg upgrade openocd > /dev/null && /usr/bin/run-avrdude /tmp/sketch.hex && exit 0; else echo 'Please connect your board to the Internet in order to upgrade tools.' 1>&2; fi fi; exit 1 "
129
+ tools.avrdude_remote.upload.pattern="if openocd --version 2>&1 | grep 2016 ; then if ping -q -w 1 -c 1 www.arduino.org > /dev/null; then opkg update > /dev/null && opkg upgrade openocd > /dev/null && /usr/bin/run-avrdude /tmp/sketch.hex && exit 0; else echo 'Please connect your board to the Internet in order to upgrade tools.' 1>&2 && exit 1 ; fi; else /usr/bin/run-avrdude /tmp/sketch.hex && exit 0; fi; "
130
130
131
131
#
132
132
# BOSSA
You can’t perform that action at this time.
0 commit comments