summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-10-25 11:27:34 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-10-25 11:27:34 +0200
commit11517648d32bc8213c38a987ec389f40feb5748e (patch)
tree6c2972894c35511c039b03ec93d23de252717cea /Makefile
parent386be4780922d8c6107163d044c557c59178200c (diff)
Add BME280 driver
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2e42e6e..15e83c6 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,11 @@ ifneq ($(findstring am2320,${drivers}), )
COMMON_FLAGS += -DDRIVER_AM2320
endif
+ifneq ($(findstring bme280,${drivers}), )
+ CXX_TARGETS += src/driver/bme280.cc src/driver/bme680_util.cc
+ COMMON_FLAGS += -DDRIVER_BME280
+endif
+
ifneq ($(findstring bme680,${drivers}), )
CXX_TARGETS += src/driver/bme680.cc src/driver/bme680_util.cc
COMMON_FLAGS += -DDRIVER_BME680