1# 2# Copyright (c) 2018 Peter Bigot Consulting, LLC 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7mainmenu "CCS811 sample application" 8 9choice 10 prompt "CCS811 Trigger On" 11 default APP_TRIGGER_ON_DATAREADY 12 depends on CCS811_TRIGGER 13 help 14 Select the type of trigger to use 15 16config APP_TRIGGER_ON_DATAREADY 17 bool "Trigger on data ready" 18 19config APP_TRIGGER_ON_THRESHOLD 20 bool "Trigger on eCO2 threshold crossing" 21 22endchoice 23 24config APP_CO2_MEDIUM_PPM 25 int "Threshold of eCO2 between low and medium" 26 default 1500 27 depends on APP_TRIGGER_ON_THRESHOLD 28 29config APP_CO2_HIGH_PPM 30 int "Threshold of eCO2 between medium and high" 31 default 2500 32 depends on APP_TRIGGER_ON_THRESHOLD 33 34config APP_MONITOR_BASELINE 35 bool "Display BASELINE register value for each sample" 36 default y 37 38config APP_USE_ENVDATA 39 bool "Program CCS811 with fixed environmental parameters" 40 default n 41 42config APP_ENV_TEMPERATURE 43 int "Environment temperature for CCS811, Cel" 44 default 25 45 depends on APP_USE_ENVDATA 46 47config APP_ENV_HUMIDITY 48 int "Environment humidity for CCS811, %RH" 49 default 50 50 depends on APP_USE_ENVDATA 51 52source "Kconfig.zephyr" 53