diff options
author | Ryan Caltabiano <rcalt2vt@gmail.com> | 2019-04-15 22:32:57 -0500 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-04-20 08:05:10 -0700 |
commit | 0a645225b9c863a106921185a6c2e0c340f10694 (patch) | |
tree | 2bf8c295650e54fb4548a7ac4d348ccfc8caa307 /common_features.mk | |
parent | b5cb5ec6ddb15cfe336b835055f546f72d440a66 (diff) |
OLED Driver Feature
Diffstat (limited to 'common_features.mk')
-rw-r--r-- | common_features.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk index eb623d18fa..fbfbc3ebc6 100644 --- a/common_features.mk +++ b/common_features.mk @@ -336,3 +336,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 |