Fix CPU frequency definition.

This commit is contained in:
redxef 2022-07-14 18:12:49 +02:00
parent 32ba37844f
commit e15de53db6
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -1,6 +1,6 @@
PREFIX := avr-
CFLAGS_COMMON := -I/usr/avr/include/
CFLAGS_CPU := -DF_CPU=20000000UL -mmcu=atmega328p -Os
CFLAGS_CPU := -DF_CPU=16000000UL -mmcu=atmega328p -Os
CFLAGS := $(CFLAGS_COMMON) $(CFLAGS_CPU)
LDFLAGS_COMMON := -I/usr/avr/include/
LDFLAGS_CPU := -mmcu=atmega328p