aboutsummaryrefslogtreecommitdiff
path: root/bin/flash-tiny25.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-11-03 16:50:19 -0600
committerSelene ToyKeeper2018-11-03 16:50:19 -0600
commitba04f5bd8cc8ac59a0ba83b528ada538b93a1773 (patch)
treefca80af5f1956c9edfe530415e5f0de7a68b2d52 /bin/flash-tiny25.sh
parentapplied thermal target bugfix from Anduril (diff)
parentAdded a help message to build.sh and flash.sh (diff)
downloadanduril-ba04f5bd8cc8ac59a0ba83b528ada538b93a1773.tar.gz
anduril-ba04f5bd8cc8ac59a0ba83b528ada538b93a1773.tar.bz2
anduril-ba04f5bd8cc8ac59a0ba83b528ada538b93a1773.zip
merged flash-safer branch (clean up flash/build scripts and make flashing less likely to produce bricks)
Diffstat (limited to 'bin/flash-tiny25.sh')
-rwxr-xr-xbin/flash-tiny25.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/flash-tiny25.sh b/bin/flash-tiny25.sh
new file mode 100755
index 0000000..9975671
--- /dev/null
+++ b/bin/flash-tiny25.sh
@@ -0,0 +1,3 @@
+#/bin/sh
+FIRMWARE=$1
+avrdude -c usbasp -p t25 -u -Uflash:w:$FIRMWARE