summaryrefslogtreecommitdiff
path: root/flash.sh
blob: 8c1d3e0c71ed5f017981b44caa60d6d5f808d2d5 (plain)
1
2
3
#!/bin/sh
[ -z "$1" ] && exit 1
avrdude -p atmega32u4 -P /dev/ttyACM0 -c avr109 -U flash:w:"$1"