aboutsummaryrefslogblamecommitdiff
path: root/upload.sh
blob: 62b906a1552de429b0939631b25bedd0395bec10 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


          




                                  

                                                   
#! /bin/sh

HEXFILE=$1

if [ -z "$HEXFILE" ]; then
	echo "usage: $0 [hexfile]"
	exit 1
fi

avrdude -c usbtiny -p attiny828 -U flash:w:$HEXFILE