diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-01-11 14:23:07 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-01-11 14:23:07 +0100 |
commit | 0d84f5e512c4148bc45dd26eea177e09c0a21b56 (patch) | |
tree | 8d8ae62a68f11482d1c25f32d86cf1c43246f61d /Makefile | |
parent | 1978e406b816d463dc7feab083ce30638e8b787a (diff) |
Add Sharp96 display driver, split up msp430 SPI into a1 / b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |