Fix CPU frequency definition.
This commit is contained in:
parent
32ba37844f
commit
e15de53db6
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
PREFIX := avr-
|
PREFIX := avr-
|
||||||
CFLAGS_COMMON := -I/usr/avr/include/
|
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)
|
CFLAGS := $(CFLAGS_COMMON) $(CFLAGS_CPU)
|
||||||
LDFLAGS_COMMON := -I/usr/avr/include/
|
LDFLAGS_COMMON := -I/usr/avr/include/
|
||||||
LDFLAGS_CPU := -mmcu=atmega328p
|
LDFLAGS_CPU := -mmcu=atmega328p
|
||||||
|
|
Loading…
Reference in a new issue