# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB ?= $(F_CPU)
-# Interrupt driven control endpoint task
-# Not work with suart debug
-#OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# This improves response of keyboard when wakeup
OPT_DEFS += -DSUSPEND_MODE_STANDBY
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
-BOOTLOADER_SIZE ?= 4096
-OPT_DEFS += -DBOOTLOADER_SIZE=$(BOOTLOADER_SIZE)
+# Bootloader size can be calculated from fuse bits
+#BOOTLOADER_SIZE ?= 4096
+#OPT_DEFS += -DBOOTLOADER_SIZE=$(BOOTLOADER_SIZE)
# Build Options
COMMAND_ENABLE ?= yes # Commands for debug and configuration
NKRO_ENABLE ?= yes # USB Nkey Rollover
-KEYMAP_SECTION_ENABLE = yes
-UNIMAP_ENABLE = yes
+KEYMAP_SECTION_ENABLE ?= yes
+UNIMAP_ENABLE ?= yes
# Optimize size but this may cause error "relocation truncated to fit"