diff options
Diffstat (limited to 'upload.sh')
-rwxr-xr-x | upload.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/upload.sh b/upload.sh new file mode 100755 index 0000000..d34d4ed --- /dev/null +++ b/upload.sh @@ -0,0 +1,6 @@ +#! /bin/sh + +HEXFILE=$1 +[ -z "$HEXFILE" ] && exit 1 + +avrdude -c usbtiny -p attiny828 -U flash:w:$HEXFILE |