6 lines
213 B
Makefile
6 lines
213 B
Makefile
compile:
|
|
avr-gcc -DF_CPU=8000000 -Iavr-i2c -Iavr-ds3231 -Os -flto -mmcu=atmega48 main.c avr-ds3231/ds3231.c avr-i2c/i2c.c -o nixie
|
|
avr-size -A nixie
|
|
|
|
flash:
|
|
avrdude -p m48 -c usbasp -P usb -B4 -U flash:w:nixie
|