summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/rules.mk
blob: ff4ede45cac690ae27ddfb0365ba8114fd366d84 (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
RGB_MATRIX_ENABLE = no
CUSTOM_UNICODE_ENABLE = no
CUSTOM_POINTING_DEVICE = no
CUSTOM_SPLIT_TRANSPORT_SYNC = no


ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/blackpill)
    # Bootloader selection
    BOOTLOADER := tinyuf2

    LTO_ENABLE := no

    AUDIO_SUPPORTED = yes
    AUDIO_ENABLE = yes
    AUDIO_DRIVER = pwm_hardware

    OVERLOAD_FEATURES = yes
endif

ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/v2/stemcell)
    OVERLOAD_FEATURES = yes
endif
ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/v2/splinky)
    OVERLOAD_FEATURES = yes
endif


ifeq ($(strip $(OVERLOAD_FEATURES)), yes)
    BOOTMAGIC_ENABLE = yes     # Enable Bootmagic Lite
    KEYBOARD_SHARED_EP = yes
    MOUSE_SHARED_EP = yes

    MOUSEKEY_ENABLE = yes
    NKRO_ENABLE = yes
    CONSOLE_ENABLE = yes
    RGB_MATRIX_ENABLE = yes

    AUTOCORRECT_ENABLE = yes

    CUSTOM_UNICODE_ENABLE = yes
    CUSTOM_POINTING_DEVICE = yes
    CUSTOM_SPLIT_TRANSPORT_SYNC = yes

    DEBOUNCE_TYPE = asym_eager_defer_pk
endif