aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSelene ToyKeeper2014-07-22 17:57:20 -0600
committerSelene ToyKeeper2014-07-22 17:57:20 -0600
commit453bc7b520b98092c67697bee4538b4c1e53d668 (patch)
tree580d429302d932cb0d35c66b206d18d950b8df45 /bin
parentIncluded a precompiled version of 'hello world' so people can test the (diff)
downloadanduril-453bc7b520b98092c67697bee4538b4c1e53d668.tar.gz
anduril-453bc7b520b98092c67697bee4538b4c1e53d668.tar.bz2
anduril-453bc7b520b98092c67697bee4538b4c1e53d668.zip
Added a dir to hold generally-useful utilities.
Includes a short script to flash a .hex file onto an attiny13a using the usbasp device.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/flash.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/flash.sh b/bin/flash.sh
new file mode 100755
index 0000000..9c2ef82
--- /dev/null
+++ b/bin/flash.sh
@@ -0,0 +1,3 @@
+#/bin/sh
+FIRMWARE=$1
+avrdude -c usbasp -p t13 -u -Uflash:w:$FIRMWARE -Ulfuse:w:0x75:m -Uhfuse:w:0xFF:m