From 453bc7b520b98092c67697bee4538b4c1e53d668 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 22 Jul 2014 17:57:20 -0600 Subject: Added a dir to hold generally-useful utilities. Includes a short script to flash a .hex file onto an attiny13a using the usbasp device. --- bin/flash.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/flash.sh (limited to 'bin') 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 -- cgit v1.2.3