2018-10-23 01:37:03 +06:00
|
|
|
# MCU name
|
|
|
|
MCU = atmega32u4
|
|
|
|
|
2019-10-06 00:09:35 +06: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-23 01:37:03 +06:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# comment out to disable the options.
|
|
|
|
#
|
2020-01-29 23:51:25 +06:00
|
|
|
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
|
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = yes # Console for debug
|
2019-02-05 05:10:11 +06:00
|
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
|
|
XT_ENABLE = yes
|
|
|
|
CUSTOM_MATRIX = yes
|
2018-10-23 01:37:03 +06:00
|
|
|
|
2019-10-26 07:23:11 +06:00
|
|
|
SRC += matrix.c
|
2018-10-23 01:37:03 +06:00
|
|
|
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
|
|
#EXTRALDFLAGS = -Wl,--relax
|