X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common_features.mk;h=fbfbc3ebc6093f9cc2ad7273a6b89f1db815e470;hb=6d73fe12779d6e8527d404572810ea95e714dce7;hp=eb623d18fa699d42c28947768a6c320cd220e860;hpb=7e67bd791b1804e1e362d8c1e90232440c274cee;p=qmk_firmware.git diff --git a/common_features.mk b/common_features.mk index eb623d18f..fbfbc3ebc 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