From 666124c9a2b1a7ac81d9129a489ed378c0856624 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 29 Dec 2021 20:30:20 +0100 Subject: bsec driver is incompatible with avr-gcc 5 --- src/driver/Kconfig | 8 ++++++-- 1 file 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" -- cgit v1.2.3