Add flash script

This commit is contained in:
2025-12-20 18:41:48 +01:00
parent 0148d8acde
commit 8d3f474e65
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
make
MCU="t85" #attiny85
PROGRAMMER="usbasp"
TARGET="main.hex"
echo "Flashing $TARGET to $MCU using $PROGRAMMER..."
avrdude -c $PROGRAMMER -p $MCU -U flash:w:$TARGET:i