From bdb1590839e5962741140ce2f4db722219f9d6f6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 26 Feb 2021 19:16:55 +0100 Subject: Add SCD4x driver and datalog integration --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.3