Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 224 Bytes
CC=avr-gcc
CFLAGS += -DF_CPU=16000000UL
CFLAGS += -mmcu=atmega168
CFLAGS += -Os
all: main.o
avr-gcc -mmcu=atmega168 -o firmware $^
avr-objcopy -O ihex -R .eeprom firmware firmware.hex
avr-size --mcu=atmega168 -C firmware
Jump to Line
Something went wrong with that request. Please try again.