Add flash script
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user