2017-11-26 13:17:14 +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 = atmel-dfu
|
2017-11-26 13:17:14 +06:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# comment out to disable the options.
|
|
|
|
#
|
2020-01-29 23:51:25 +06:00
|
|
|
# BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
|
|
|
|
MOUSEKEY_ENABLE ?= yes # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE ?= yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE ?= yes # Console for debug
|
2017-11-26 13:17:14 +06:00
|
|
|
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
|
2017-12-12 08:05:12 +06:00
|
|
|
SRC += matrix.c \
|
|
|
|
actuation_point.c \
|
|
|
|
i2c.c
|