summaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
authorRyan Caltabiano <rcalt2vt@gmail.com>2019-04-15 22:32:57 -0500
committerDrashna Jaelre <drashna@live.com>2019-04-22 09:55:39 -0700
commit95f8ac3424871c1ffed11e51f5fba66a192daeb0 (patch)
treec24fdff8dd91915679ecf8e5d1537698bc883275 /common_features.mk
parent0a04a0e4191419455fadfeadaaec6696d9dea890 (diff)
OLED Driver Feature
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index bd1685869d..a61e581397 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -334,3 +334,10 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
endif
COMMON_VPATH += $(QUANTUM_PATH)/split_common
endif
+
+ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
+ OPT_DEFS += -DOLED_DRIVER_ENABLE
+ COMMON_VPATH += $(DRIVER_PATH)/oled
+ QUANTUM_LIB_SRC += i2c_master.c
+ SRC += oled_driver.c
+endif