diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 11:24:06 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 11:24:06 +0100 |
commit | bda22fb5f8c9267943b9653031d279fe14edcd2a (patch) | |
tree | 164ac17f0b61cf80f9ee230b25b1f30c64f1b7d7 /Makefile | |
parent | 568464cfe1832867bdcd4429ea894c59a89c45f2 (diff) |
sharp96: Set default pins in Makefile (it's commonly used on MSP430FR boards)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -59,6 +59,9 @@ endif ifneq ($(findstring sharp96,${drivers}), ) CXX_TARGETS += src/driver/sharp96.cc + sharp96_power_pin ?= p4_2 + sharp96_en_pin ?= p4_3 + sharp96_cs_pin ?= p2_4 COMMON_FLAGS += -DDRIVER_SHARP6 COMMON_FLAGS += -DSHARP96_POWER_PIN=GPIO::${sharp96_power_pin} COMMON_FLAGS += -DSHARP96_EN_PIN=GPIO::${sharp96_en_pin} |