Files
qmk/keyboards/mxss/rules.mk
T

32 lines
1.1 KiB
Makefile
Raw Normal View History

2018-07-08 12:33:36 +10:00
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
2018-07-08 12:33:36 +10:00
# Build Options
# change yes to no to disable
#
2021-08-06 23:59:56 -07:00
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
2018-07-08 12:33:36 +10: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
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
2018-07-08 12:33:36 +10:00
SRC += mxss_frontled.c
2018-07-08 12:33:36 +10:00
# Remove the common RGB light code and use my iteration instead
COMMON_VPATH += $(QUANTUM_DIR)/rgblight
2018-07-08 12:33:36 +10:00
OPT_DEFS += -DRGBLIGHT_ENABLE
SRC += rgblight.c
SRC += $(QUANTUM_DIR)/color.c
WS2812_DRIVER_REQUIRED = yes
2018-07-08 12:33:36 +10:00
CIE1931_CURVE = yes
RGB_KEYCODES_ENABLE = yes