|
|
@ -107,6 +107,10 @@ endif
|
|
|
|
|
|
|
|
|
|
|
|
SRC := $(KEYMAP_FILE) $(SRC)
|
|
|
|
SRC := $(KEYMAP_FILE) $(SRC)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(BACKLIGHT_ENABLE), yes)
|
|
|
|
|
|
|
|
SRC := backlight.c $(SRC)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
CONFIG_H = config.h
|
|
|
|
CONFIG_H = config.h
|
|
|
|
|
|
|
|
|
|
|
|
# MCU name
|
|
|
|
# MCU name
|
|
|
@ -126,7 +130,6 @@ MCU = atmega32u4
|
|
|
|
# software delays.
|
|
|
|
# software delays.
|
|
|
|
F_CPU = 16000000
|
|
|
|
F_CPU = 16000000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# LUFA specific
|
|
|
|
# LUFA specific
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -158,12 +161,6 @@ OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
|
|
|
|
# USBaspLoader 2048
|
|
|
|
# USBaspLoader 2048
|
|
|
|
OPT_DEFS += -DBOOTLOADER_SIZE=4096
|
|
|
|
OPT_DEFS += -DBOOTLOADER_SIZE=4096
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(BACKLIGHT_ENABLE), yes)
|
|
|
|
|
|
|
|
SRC += backlight.c
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
|
|
|
|
|
|
|
|