Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
d605e736aThis file is pinned to the selected release. Download the original to open it in your design tool.
#!/bin/bash
set -e
avr-gcc -Wall -Os -mmcu=attiny13 -o output.elf *.c
avr-objcopy -O ihex output.elf output.hex
avrdude -p attiny13 -c avrispmkii -U lfuse:w:0x6a:m -U hfuse:w:0xfb:m -U flash:w:output.hex
rm output.elf
rm output.hex