Fix compilation. Added programming

This commit is contained in:
DWW
2022-03-12 14:25:15 +02:00
parent 8aace49723
commit c94669f834
2 changed files with 9 additions and 2 deletions

View File

@@ -1,2 +1,9 @@
controller: ATtiny84_LED_PC.c i2c_master.c
all:
make build
make program
build:
avr-gcc ATtiny84_LED_PC.c i2c_master.c -o controller -DF_CPU=16000000 -mmcu=attiny84
program:
avrdude -p attiny84 -c usbtiny -U flash:w:controller