add flashing script

dfu-programmer and my initial attempt at using avrdude failed on
OpenBSD due to some timing issues.
This commit is contained in:
Vineet K 2024-01-15 15:18:03 -05:00
parent 0d084a0a3e
commit 105f3f893c

3
flash.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
[ -z "$1" ] && exit 1
doas avrdude -p atmega32u4 -c avr109 -U flash:w:"$1"