Added firmware

This commit is contained in:
2025-05-05 15:11:46 +03:00
parent b6985b4ac3
commit 24ed427a2b
3 changed files with 66 additions and 0 deletions

11
firmware/Makefile Normal file
View 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