aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r--users/drashna/rules.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index 445d1cf5a..553cc2cbc 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -78,10 +78,20 @@ endif
78 78
79CUSTOM_OLED_DRIVER ?= yes 79CUSTOM_OLED_DRIVER ?= yes
80ifeq ($(strip $(OLED_ENABLE)), yes) 80ifeq ($(strip $(OLED_ENABLE)), yes)
81 ifeq ($(strip $(OLED_DRIVER)), custom)
82 OPT_DEFS += -DOLED_ENABLE \
83 -DOLED_DRIVER_SH1107
84 SRC += $(USER_PATH)/oled/sh110x.c
85 QUANTUM_LIB_SRC += i2c_master.c
86 endif
81 ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes) 87 ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes)
82 SRC += $(USER_PATH)/oled/oled_stuff.c
83 OPT_DEFS += -DCUSTOM_OLED_DRIVER_CODE 88 OPT_DEFS += -DCUSTOM_OLED_DRIVER_CODE
89 SRC += $(USER_PATH)/oled/oled_stuff.c
84 endif 90 endif
91 ifeq ($(strip $(OLED_DISPLAY_TEST)), yes)
92 OPT_DEFS += -DOLED_DISPLAY_TEST
93 endif
94 DEFERRED_EXEC_ENABLE = yes
85endif 95endif
86 96
87CUSTOM_POINTING_DEVICE ?= yes 97CUSTOM_POINTING_DEVICE ?= yes
@@ -97,6 +107,7 @@ ifeq ($(strip $(CUSTOM_SPLIT_TRANSPORT_SYNC)), yes)
97 QUANTUM_LIB_SRC += $(USER_PATH)/split/transport_sync.c 107 QUANTUM_LIB_SRC += $(USER_PATH)/split/transport_sync.c
98 OPT_DEFS += -DCUSTOM_SPLIT_TRANSPORT_SYNC 108 OPT_DEFS += -DCUSTOM_SPLIT_TRANSPORT_SYNC
99 endif 109 endif
110
100endif 111endif
101 112
102AUTOCORRECTION_ENABLE ?= no 113AUTOCORRECTION_ENABLE ?= no