From 0319d8f5321cc0f712c7d3dc82362235490995b7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 2 Jan 2022 11:42:15 +0100 Subject: BME680 BSEC: support state (de)serialization across application restarts --- src/driver/Kconfig | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/driver/Kconfig') diff --git a/src/driver/Kconfig b/src/driver/Kconfig index a58ea65..2b8a8d5 100644 --- a/src/driver/Kconfig +++ b/src/driver/Kconfig @@ -37,11 +37,10 @@ depends on meta_driver_i2c && !driver_bme280 config driver_bme680_bsec bool "with BSEC (proprietary library for IAQ calculation)" -depends on driver_bme680 && (arch_msp430fr5994lp || arch_posix) +depends on driver_bme680 && 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 @@ -49,6 +48,15 @@ default "bme680-bsec" if arch_msp430fr5994lp default "bme680-bsec-armv6" if arch_posix depends on driver_bme680_bsec +config driver_bme680_bsec_save_state +bool "Save and Load library state (requires stdio)" +depends on driver_bme680_bsec + +config driver_bme680_bsec_state_path +string "BSEC state path" +default "/boot/bme680-bsec.state" if arch_posix +depends on driver_bme680_bsec_save_state + config driver_ccs811 bool "CCS811 VOC Sensor" depends on meta_driver_i2c -- cgit v1.2.3