3 TMK_DIR ?= ../../tmk_core
7 # Boot Section Size in *bytes*
8 OPT_DEFS += -DBOOTLOADER_SIZE=4096
13 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
17 #BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration
18 #MOUSEKEY_ENABLE ?= yes # Mouse keys
19 #EXTRAKEY_ENABLE ?= yes # Audio control and System control
20 CONSOLE_ENABLE ?= yes # Console for debug
21 COMMAND_ENABLE ?= yes # Commands for debug and configuration
22 #NKRO_ENABLE ?= yes # USB Nkey Rollover
23 #ACTIONMAP_ENABLE ?= yes # Use 16bit actionmap instead of 8bit keymap
24 UNIMAP_ENABLE ?= yes # Universal keymap
25 KEYMAP_SECTION_ENABLE ?= yes # fixed address keymap for keymap editor
35 ifeq (yes,$(strip $(UNIMAP_ENABLE)))
38 ifeq (yes,$(strip $(ACTIONMAP_ENABLE)))
39 KEYMAP_FILE = actionmap
45 SRC := $(KEYMAP_FILE)_$(KEYMAP).c $(SRC)
47 SRC := $(KEYMAP_FILE).c $(SRC)
52 VPATH += $(TARGET_DIR)
55 include $(TMK_DIR)/protocol/lufa.mk
56 include $(TMK_DIR)/common.mk
57 include $(TMK_DIR)/rules.mk