forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKconfig
52 lines (40 loc) · 1.08 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# 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"