summaryrefslogtreecommitdiff
path: root/layouts/community/ortho_4x12/drashna/rules.mk
blob: a2278e931dd32b6ed9b6a0720564aa3e884d704f (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
BOOTMAGIC_ENABLE   = yes      # Enable Bootmagic Lite
MOUSEKEY_ENABLE    = no       # Mouse keys
EXTRAKEY_ENABLE    = yes      # Audio control and System control
TAP_DANCE_ENABLE   = no
NKRO_ENABLE        = yes
CAPS_WORD_ENABLE   = no
CONSOLE_ENABLE     = no
COMMAND_ENABLE     = no
BACKLIGHT_ENABLE   = no

ifeq ($(strip $(LAYOUT_HAS_RGB)), yes)
    RGBLIGHT_ENABLE            = yes
endif

ifeq ($(strip $(KEYBOARD)), planck/rev6)
    CONSOLE_ENABLE              = yes
    RGBLIGHT_ENABLE             = yes
    RGB_MATRIX_ENABLE           = no
    RGBLIGHT_STARTUP_ANIMATION  = yes
    AUDIO_ENABLE                = yes
    EEPROM_DRIVER               = i2c
    ENCODER_MAP_ENABLE          = yes
    AUTOCORRECT_ENABLE          = yes
    CAPS_WORD_ENABLE            = yes
endif
ifeq ($(strip $(KEYBOARD)), planck/light)
    RGB_MATRIX_ENABLE           = yes
    RGBLIGHT_ENABLE             = yes
    RGBLIGHT_STARTUP_ANIMATION  = yes
    AUDIO_ENABLE                = yes
endif
ifeq ($(strip $(KEYBOARD)), planck/ez)
    RGBLIGHT_ENABLE             = no
    ENCODER_ENABLE              = yes
    ENCODER_MAP_ENABLE          = yes
    RGB_MATRIX_ENABLE           = yes
    INDICATOR_LIGHTS            = yes
    RGBLIGHT_STARTUP_ANIMATION  = yes
    CONSOLE_ENABLE              = yes
    COMMAND_ENABLE              = yes
    AUDIO_ENABLE                = yes
    AUTOCORRECT_ENABLE          = yes
    CAPS_WORD_ENABLE            = yes
endif

ifeq ($(strip $(MCU)), atmega32u4)
    BOOTLOADER = qmk-hid
    BOOTLOADER_SIZE = 512
    LTO_ENABLE = yes
    CUSTOM_UNICODE_ENABLE = no
endif