From dcc52fdfc95e9b2621b46a18250051234891f563 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 3 Nov 2018 16:00:15 -0600 Subject: Renamed flash/build scripts to better indicate MCU type. --- bin/flash-tiny25.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/flash-tiny25.sh (limited to 'bin/flash-tiny25.sh') diff --git a/bin/flash-tiny25.sh b/bin/flash-tiny25.sh new file mode 100755 index 0000000..0b24bb2 --- /dev/null +++ b/bin/flash-tiny25.sh @@ -0,0 +1,4 @@ +#/bin/sh +FIRMWARE=$1 +avrdude -c usbasp -p t25 -u -U lfuse:w:0xd2:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m -Uflash:w:$FIRMWARE +# http://www.engbedded.com/cgi-bin/fcx.cgi?P_PREV=ATtiny25&P=ATtiny25&M_LOW_0x3F=0x22&M_HIGH_0x07=0x07&M_HIGH_0x20=0x00&B_SUT1=P&B_SPIEN=P&B_CKSEL3=P&B_CKSEL2=P&B_CKSEL0=P&V_LOW=D2&V_HIGH=DF&V_EXTENDED=FF -- cgit v1.2.3