We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d764a commit d79b08bCopy full SHA for d79b08b
platform.txt
@@ -126,7 +126,7 @@ tools.avrdude.upload.params.quiet=-q -q
126
tools.avrdude.upload.params.noverify=-V
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
129
-tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex
+tools.avrdude_remote.upload.pattern="openocd --version 2>&1 | grep 2017 && /usr/bin/run-avrdude /tmp/sketch.hex || echo Can't upload; update your Tian first 1>&2; exit 1"
130
131
#
132
# BOSSA
0 commit comments