2019-10-25 02:50:13 +06:00
|
|
|
# MCU name
|
2018-02-24 00:16:10 +06:00
|
|
|
MCU = atmega32u4
|
|
|
|
|
2019-10-25 02:50:13 +06:00
|
|
|
# Bootloader selection
|
|
|
|
BOOTLOADER = atmel-dfu
|
2018-07-19 09:03:40 +06:00
|
|
|
|
2020-02-05 08:41:19 +06:00
|
|
|
# Build Options
|
|
|
|
# change yes to no to disable
|
|
|
|
#
|
2021-08-07 12:59:56 +06:00
|
|
|
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
|
2020-02-05 08:41:19 +06:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
|
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
|
|
|
SLEEP_LED_ENABLE = yes # 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
|
|
|
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
2021-08-08 09:37:13 +06:00
|
|
|
RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lfkeyboards, not qmk base
|
2021-09-21 16:04:03 +06:00
|
|
|
AUDIO_ENABLE = no # Audio output
|
2018-12-11 01:38:57 +06:00
|
|
|
|
2020-02-05 08:41:19 +06:00
|
|
|
ISSI_ENABLE = yes # If the I2C pullup resistors aren't installed this must be disabled
|
|
|
|
WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan() isn't run every 250ms
|
2018-12-11 01:38:57 +06:00
|
|
|
|
2019-10-25 02:50:13 +06:00
|
|
|
SRC = TWIlib.c issi.c lighting.c
|
2018-12-11 01:38:57 +06:00
|
|
|
|
|
|
|
ifeq ($(strip $(ISSI_ENABLE)), yes)
|
|
|
|
TMK_COMMON_DEFS += -DISSI_ENABLE
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
|
|
|
|
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
|
|
|
|
endif
|
2020-02-05 08:41:19 +06:00
|
|
|
|
|
|
|
LAYOUTS = numpad_6x4
|