-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules.mk
39 lines (36 loc) · 1.33 KB
/
rules.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
OLED_ENABLE = no # Enables the use of OLED displays
ENCODER_ENABLE = yes # Enables the use of one or more encoders
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
RGBLIGHT_STARTUP_ANIMATION = no
CAPS_WORD_ENABLE = yes
REPEAT_KEY_ENABLE = yes
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
MOUSEKEY_ENABLE = no # Mouse keys
# COMBO_ENABLE = yes # Enable Combos
KEY_OVERRIDE_ENABLE = yes # Enable Key Overrides
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
UNICODE_ENABLE = no # Unicode
UNICODEMAP_ENABLE = no # Extended Unicode range
SWAP_HANDS_ENABLE = yes # Swap hands
WPM_ENABLE = yes # WPM Calculation
TAP_DANCE_ENABLE = no # Enables Tab Dance
LTO_ENABLE = yes # Enables Link Time Optimization to minimize FW size
# Load the necessary external C files if and only if
# the associated config option has been enabled
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
SRC += tapdance.c
endif
ifeq ($(strip $(KEY_OVERRIDE_ENABLE)), yes)
SRC += overrides.c
endif
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
SRC += rgbled.c
endif
ifeq ($(strip $(OLED_ENABLE)), yes)
SRC += oled.c
endif
ifeq ($(strip $(ENCODER_ENABLE)), yes)
SRC += encoder.c
endif