diff options
author | Florian Didron <fdidron@users.noreply.github.com> | 2019-04-23 08:44:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 08:44:02 +0900 |
commit | 95462d0d65a8afd326b0dede3a9887cf8c70194e (patch) | |
tree | f795b3e6d2ababc896defffdfb1563b3ffdff8de /common_features.mk | |
parent | 70945f1146a035da81f2545671f4768a2e97847b (diff) | |
parent | c3a160bf721b4ec428ec389b696784c27d1d2e42 (diff) |
Merge pull request #20 from zsa/feature/oled_driver
Adds support for OLED Driver
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 |