diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-23 12:53:07 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-23 12:53:07 +0200 |
commit | a5c6adc46d696233bc67e25ac2146173dd6ee8b2 (patch) | |
tree | c10354d47bf545bfa0a8de5827088032b58f0198 /Makefile | |
parent | 9fbfe1c5dcb12c47e6a408818dc815e3dd856518 (diff) |
Add Bosch SensorTec BME680 driver + utilities
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -38,6 +38,11 @@ ifneq ($(findstring am2320,${drivers}), ) COMMON_FLAGS += -DDRIVER_AM2320 endif +ifneq ($(findstring bme680,${drivers}), ) + CXX_TARGETS += src/driver/bme680.cc src/driver/bme680_util.cc + COMMON_FLAGS += -DDRIVER_BME680 +endif + ifneq ($(findstring ccs811,${drivers}), ) CXX_TARGETS += src/driver/ccs811.cc COMMON_FLAGS += -DDRIVER_CCS811 @@ -83,12 +88,12 @@ endif ifneq ($(findstring sharp96,${drivers}), ) CXX_TARGETS += src/driver/sharp96.cc - sharp96_power_pin ?= p1_2 - sharp96_en_pin ?= p6_2 - sharp96_cs_pin ?= p1_3 sharp96_power_pin ?= p4_2 sharp96_en_pin ?= p4_3 sharp96_cs_pin ?= p2_4 + sharp96_power_pin ?= p1_2 + sharp96_en_pin ?= p6_2 + sharp96_cs_pin ?= p1_3 COMMON_FLAGS += -DDRIVER_SHARP6 COMMON_FLAGS += -DSHARP96_POWER_PIN=GPIO::${sharp96_power_pin} COMMON_FLAGS += -DSHARP96_EN_PIN=GPIO::${sharp96_en_pin} |