24 lines
618 B
Makefile
24 lines
618 B
Makefile
# MCU name
|
|
MCU = atmega32u4
|
|
|
|
# Bootloader selection
|
|
BOOTLOADER = atmel-dfu
|
|
|
|
# Build Options
|
|
# comment out to disable the options.
|
|
#
|
|
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
CONSOLE_ENABLE = yes # Console for debug
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
CUSTOM_MATRIX = yes
|
|
SRC += matrix.c \
|
|
actuation_point.c \
|
|
i2c.c
|