diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-02-26 19:16:55 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-02-26 19:16:55 +0100 |
commit | bdb1590839e5962741140ce2f4db722219f9d6f6 (patch) | |
tree | db565f530096ad63c82640150718fb144c47d9c9 /Makefile | |
parent | 9a3d3bcc93f8cefea74af2a86b5834a57738e2c3 (diff) |
Add SCD4x driver and datalog integration
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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) |