diff options
author | Drashna Jael're <drashna@live.com> | 2022-01-21 20:11:30 -0800 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2022-01-21 20:11:30 -0800 |
commit | 102cec82418b785c6f503f90dacc452843323c86 (patch) | |
tree | 5085627003a13d2cb2136d7da28b8d08ecbe87fd /users/drashna/rules.mk | |
parent | ad702096a97677eab5c1931d6f0d4a51e1a564a5 (diff) | |
parent | 7ecb47958c7e13ffb87e9ee25ee639daeb78b36d (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r-- | users/drashna/rules.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk index 445d1cf5ac..553cc2cbc7 100644 --- a/users/drashna/rules.mk +++ b/users/drashna/rules.mk @@ -78,10 +78,20 @@ endif CUSTOM_OLED_DRIVER ?= yes ifeq ($(strip $(OLED_ENABLE)), yes) + ifeq ($(strip $(OLED_DRIVER)), custom) + OPT_DEFS += -DOLED_ENABLE \ + -DOLED_DRIVER_SH1107 + SRC += $(USER_PATH)/oled/sh110x.c + QUANTUM_LIB_SRC += i2c_master.c + endif ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes) - SRC += $(USER_PATH)/oled/oled_stuff.c OPT_DEFS += -DCUSTOM_OLED_DRIVER_CODE + SRC += $(USER_PATH)/oled/oled_stuff.c endif + ifeq ($(strip $(OLED_DISPLAY_TEST)), yes) + OPT_DEFS += -DOLED_DISPLAY_TEST + endif + DEFERRED_EXEC_ENABLE = yes endif CUSTOM_POINTING_DEVICE ?= yes @@ -97,6 +107,7 @@ ifeq ($(strip $(CUSTOM_SPLIT_TRANSPORT_SYNC)), yes) QUANTUM_LIB_SRC += $(USER_PATH)/split/transport_sync.c OPT_DEFS += -DCUSTOM_SPLIT_TRANSPORT_SYNC endif + endif AUTOCORRECTION_ENABLE ?= no |