mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2025-01-30 14:35:18 +00:00
Moved clock speed definition (F_CPU) to arch header file
This commit is contained in:
parent
1687d0ccfd
commit
9b41a77ea4
@ -9,7 +9,7 @@ BUILD_DIR = ../build
|
||||
all: app
|
||||
|
||||
app:
|
||||
make -f $(TARGET_MAKEFILE) ARCH=$(ARCH) KEYMAP=$(KEYMAP)y
|
||||
make -f $(TARGET_MAKEFILE) ARCH=$(ARCH) KEYMAP=$(KEYMAP)
|
||||
|
||||
test:
|
||||
make -f Makefile.test
|
||||
|
@ -23,8 +23,6 @@ VERSION =
|
||||
RELEASE=
|
||||
SIZE_COMMAND = avr-size
|
||||
|
||||
CLOCK = 8000000L
|
||||
|
||||
CLEAN_FILES =
|
||||
CLEANALL_FILES =
|
||||
|
||||
@ -53,7 +51,6 @@ CFLAGS += -Wstrict-prototypes
|
||||
CFLAGS += -Wundef
|
||||
CFLAGS += -Wold-style-definition
|
||||
CFLAGS += -mmcu=$(ARCH)
|
||||
CFLAGS += -DF_CPU=$(CLOCK)
|
||||
|
||||
LDFLAGS = -Wl,-Map=$(TARGET_MAP)
|
||||
LDFLAGS += -Wl,--start-group
|
||||
|
Loading…
x
Reference in New Issue
Block a user