summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-29 20:30:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-29 20:30:20 +0100
commit666124c9a2b1a7ac81d9129a489ed378c0856624 (patch)
tree77b6369a15a56e611e3cd6fab66113d64b18df20
parentf888fd49746332035ff556683e2b0251e577278f (diff)
bsec driver is incompatible with avr-gcc 5
-rw-r--r--src/driver/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/driver/Kconfig b/src/driver/Kconfig
index b626776..a58ea65 100644
--- a/src/driver/Kconfig
+++ b/src/driver/Kconfig
@@ -37,13 +37,17 @@ depends on meta_driver_i2c && !driver_bme280
config driver_bme680_bsec
bool "with BSEC (proprietary library for IAQ calculation)"
-depends on driver_bme680
+depends on driver_bme680 && (arch_msp430fr5994lp || arch_posix)
+# incompatible with avr-gcc 5:
+# /usr/lib/gcc/avr/5.4.0/../../../avr/bin/ld: avr:6 architecture of input file `...' is incompatible with avr:5 output
+
config driver_bme680_bsec_path
string "BSEC library path"
+default "bme680-bsec-lite" if arch_arduino_nano
default "bme680-bsec" if arch_msp430fr5994lp
default "bme680-bsec-armv6" if arch_posix
-depends on driver_bme680_bsec && (arch_msp430fr5994lp || arch_posix)
+depends on driver_bme680_bsec
config driver_ccs811
bool "CCS811 VOC Sensor"