From 0d84f5e512c4148bc45dd26eea177e09c0a21b56 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 11 Jan 2018 14:23:07 +0100 Subject: Add Sharp96 display driver, split up msp430 SPI into a1 / b --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a6b4639..38b6571 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,14 @@ ifneq ($(findstring lm75,${drivers}), ) COMMON_FLAGS += -DDRIVER_LM75 endif +ifneq ($(findstring sharp96,${drivers}), ) + TARGETS += src/driver/sharp96.cc + COMMON_FLAGS += -DDRIVER_SHARP6 + COMMON_FLAGS += -DSHARP96_POWER_PIN=GPIO::${sharp96_power_pin} + COMMON_FLAGS += -DSHARP96_EN_PIN=GPIO::${sharp96_en_pin} + COMMON_FLAGS += -DSHARP96_CS_PIN=GPIO::${sharp96_cs_pin} +endif + ifeq (${timer_cycles}, 1) COMMON_FLAGS += -DTIMER_CYCLES endif -- cgit v1.2.3