Skip to content

Commit 679531c

Browse files
authored
Add files via upload
1 parent 67d7aaa commit 679531c

4 files changed

+856
-0
lines changed

compileattiny.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
rm *.elf
2+
rm *.o
3+
rm *.hex
4+
avr-gcc -mmcu=attiny2313 -std=gnu99 -Wall -Os -o main3.elf main3.c -w
5+
avr-objcopy -j .text -j .data -O ihex main3.elf main3.hex
6+
avr-size --mcu=attiny2313 --format=avr main3.elf
7+
sudo avrdude -c usbasp -p t2313 -U lfuse:w:0x64:m -U flash:w:"main3.hex":a
8+

0 commit comments

Comments
 (0)