summaryrefslogtreecommitdiff
path: root/tamper/src/led-test/build.sh
blob: e9d46b4d5c8224fc90a7c948ecde63e8a9354551 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/bash

set -e

avr-gcc -mmcu=avr25 main.c -o main.elf
avr-objcopy -O ihex main.elf main.hex
sudo avrdude -c usbtiny -p attiny828 -U flash:w:main.hex