2018-10-22 19:37:03 +00:00
|
|
|
# MCU name
|
|
|
|
MCU = atmega32u4
|
|
|
|
|
2019-10-05 18:09:35 +00:00
|
|
|
# Bootloader selection
|
|
|
|
# Teensy halfkay
|
|
|
|
# Pro Micro caterina
|
|
|
|
# Atmel DFU atmel-dfu
|
|
|
|
# LUFA DFU lufa-dfu
|
|
|
|
# QMK DFU qmk-dfu
|
|
|
|
# ATmega32A bootloadHID
|
|
|
|
# ATmega328P USBasp
|
|
|
|
BOOTLOADER = halfkay
|
2018-10-22 19:37:03 +00:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# comment out to disable the options.
|
|
|
|
#
|
2019-02-04 23:10:11 +00:00
|
|
|
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
|
|
|
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
|
|
|
CONSOLE_ENABLE = yes # Console for debug(+400)
|
|
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
|
|
XT_ENABLE = yes
|
|
|
|
CUSTOM_MATRIX = yes
|
2018-10-22 19:37:03 +00:00
|
|
|
|
2019-10-26 01:23:11 +00:00
|
|
|
SRC += matrix.c
|
2018-10-22 19:37:03 +00:00
|
|
|
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|