Added firmware
This commit is contained in:
11
firmware/Makefile
Normal file
11
firmware/Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
all:
|
||||
make build
|
||||
make program
|
||||
|
||||
build:
|
||||
avr-gcc main.c -o magic.hex -mmcu=attiny84a -Wall -Wextra -Os
|
||||
|
||||
program:
|
||||
avrdude -p attiny84 -c usbtiny -U flash:w:magic.hex
|
||||
|
||||
.PHONY: all build program
|
||||
Reference in New Issue
Block a user