summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-10 17:16:09 +1000
committerGitHub <noreply@github.com>2021-06-10 17:16:09 +1000
commitb2fdd4874434ef6921a436fc82d9f24909c726f8 (patch)
tree0348596d5938326e95c09270d209556bbe60ba72 /common_features.mk
parentcfc7ee61c5cb9822a1195028681b928bbeac2fd3 (diff)
Add ST7565 LCD driver (#13089)
Co-authored-by: Joakim Tufvegren <jocke@barbanet.com>
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 37ce928e2a..b259af46c0 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -587,6 +587,14 @@ ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
SRC += oled_driver.c
endif
+ifeq ($(strip $(ST7565_ENABLE)), yes)
+ OPT_DEFS += -DST7565_ENABLE
+ COMMON_VPATH += $(DRIVER_PATH)/oled # For glcdfont.h
+ COMMON_VPATH += $(DRIVER_PATH)/lcd
+ QUANTUM_LIB_SRC += spi_master.c
+ SRC += st7565.c
+endif
+
include $(DRIVER_PATH)/qwiic/qwiic.mk
ifeq ($(strip $(UCIS_ENABLE)), yes)