summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-02-26 19:16:55 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-02-26 19:16:55 +0100
commitbdb1590839e5962741140ce2f4db722219f9d6f6 (patch)
treedb565f530096ad63c82640150718fb144c47d9c9 /Makefile
parent9a3d3bcc93f8cefea74af2a86b5834a57738e2c3 (diff)
Add SCD4x driver and datalog integration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d45e8be..4f518ae 100644
--- a/Makefile
+++ b/Makefile
@@ -108,6 +108,14 @@ ifneq ($(findstring sharp96,${drivers}), )
CONFIG_driver_sharp96 = y
endif
+ifneq ($(findstring tsl2591,${drivers}), )
+ CONFIG_driver_tsl2591 = y
+endif
+
+ifneq ($(findstring scd4x,${drivers}), )
+ CONFIG_driver_scd4x = y
+endif
+
ifneq ($(findstring resistive_load,${drivers}), )
CONFIG_driver_resistive_load = y
endif
@@ -192,6 +200,16 @@ ifdef CONFIG_driver_mmsubstate
COMMON_FLAGS += -DDRIVER_MMSUBSTATE
endif
+ifdef CONFIG_driver_tsl2591
+ CXX_TARGETS += src/driver/tsl2591.cc
+ COMMON_FLAGS += -DDRIVER_TSL2591
+endif
+
+ifdef CONFIG_driver_scd4x
+ CXX_TARGETS += src/driver/scd4x.cc
+ COMMON_FLAGS += -DDRIVER_SCD4X
+endif
+
ifdef CONFIG_driver_nrf24l01
CXX_TARGETS += src/driver/nrf24l01.cc
ifeq (${arch_dir}, msp430fr5994lp)