2018-07-08 10:33:36 +08:00
|
|
|
# MCU name
|
|
|
|
MCU = atmega32u4
|
|
|
|
|
2019-10-25 04:50:13 +08:00
|
|
|
# Bootloader selection
|
|
|
|
BOOTLOADER = atmel-dfu
|
2018-07-08 10:33:36 +08:00
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# change yes to no to disable
|
|
|
|
#
|
2021-06-28 13:15:24 +08:00
|
|
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
2020-01-31 02:47:48 +08:00
|
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
2021-06-28 13:15:24 +08:00
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
2018-07-08 10:33:36 +08:00
|
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
|
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
|
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
|
|
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
|
|
|
NKRO_ENABLE = no # USB Nkey Rollover
|
2021-06-28 13:15:24 +08:00
|
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
|
|
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
|
|
|
AUDIO_ENABLE = no # Audio output
|
2018-07-08 10:33:36 +08:00
|
|
|
|
2020-01-27 06:06:56 +08:00
|
|
|
SRC += mxss_frontled.c
|
|
|
|
|
2018-07-08 10:33:36 +08:00
|
|
|
# Remove the common RGB light code and use my iteration instead
|
2021-06-28 13:15:24 +08:00
|
|
|
COMMON_VPATH += $(QUANTUM_DIR)/rgblight
|
2018-07-08 10:33:36 +08:00
|
|
|
OPT_DEFS += -DRGBLIGHT_ENABLE
|
|
|
|
SRC += rgblight.c
|
2021-06-28 13:15:24 +08:00
|
|
|
SRC += $(QUANTUM_DIR)/color.c
|
|
|
|
WS2812_DRIVER_REQUIRED = yes
|
2018-07-08 10:33:36 +08:00
|
|
|
CIE1931_CURVE = yes
|
2021-06-28 13:15:24 +08:00
|
|
|
RGB_KEYCODES_ENABLE = yes
|