zephyr/samples/sensor/ccs811/Kconfig
Peter A. Bigot 45f9efe02f samples: sensor: ccs811: update for new capabilities
Use nrf52_pca20020 and nrf51_ble400 to demonstrate the new functionality
of the CCS811 driver.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2020-01-14 15:44:09 -06:00

53 lines
1.1 KiB
Plaintext

#
# Copyright (c) 2018 Peter Bigot Consulting, LLC
#
# SPDX-License-Identifier: Apache-2.0
#
mainmenu "CCS811 sample application"
choice
prompt "CCS811 Trigger On"
default APP_TRIGGER_ON_DATAREADY
depends on CCS811_TRIGGER
help
Select the type of trigger to use
config APP_TRIGGER_ON_DATAREADY
bool "Trigger on data ready"
config APP_TRIGGER_ON_THRESHOLD
bool "Trigger on eCO2 threshold crossing"
endchoice
config APP_CO2_MEDIUM_PPM
int "Threshold of eCO2 between low and medium"
default 1500
depends on APP_TRIGGER_ON_THRESHOLD
config APP_CO2_HIGH_PPM
int "Threshold of eCO2 between medium and high"
default 2500
depends on APP_TRIGGER_ON_THRESHOLD
config APP_MONITOR_BASELINE
bool "Display BASELINE register value for each sample"
default y
config APP_USE_ENVDATA
bool "Program CCS811 with fixed environmental parameters"
default n
config APP_ENV_TEMPERATURE
int "Environment temperature for CCS811, Cel"
default 25
depends on APP_USE_ENVDATA
config APP_ENV_HUMIDITY
int "Environment humidity for CCS811, %RH"
default 50
depends on APP_USE_ENVDATA
source "Kconfig.zephyr"