File tree Expand file tree Collapse file tree
peripherals/sensors/scd4x Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Kconfig file for package scd4x
2+ menuconfig PKG_USING_SCD4X
3+ bool "SCD4x: Sensirion CO2, Temperature and Humidity Sensor"
4+ default n
5+ select RT_USING_I2C
6+
7+ if PKG_USING_SCD4X
8+ config PKG_SCD4X_PATH
9+ string
10+ default "/packages/peripherals/sensors/scd4x"
11+
12+ config PKG_SCD4X_I2C_BUS
13+ string "I2C bus name"
14+ default "i2c1"
15+
16+ config PKG_SCD4X_ASC_ENABLE
17+ bool "Enable Automatic Self Calibration (ASC)"
18+ default y
19+
20+ config PKG_USING_SCD4X_SAMPLE
21+ bool "Enable SCD4x sample application"
22+ default n
23+
24+ config PKG_USING_SCD4X_SHELL
25+ bool "Enable SCD4x FinSH shell commands"
26+ default y
27+
28+ choice
29+ prompt "Version"
30+ default PKG_USING_SCD4X_LATEST_VERSION
31+ config PKG_USING_SCD4X_V100
32+ bool "v1.0.0"
33+ config PKG_USING_SCD4X_LATEST_VERSION
34+ bool "latest"
35+ endchoice
36+
37+ config PKG_SCD4X_VER
38+ string
39+ default "v1.0.0" if PKG_USING_SCD4X_V100
40+ default "latest" if PKG_USING_SCD4X_LATEST_VERSION
41+ endif
You can’t perform that action at this time.
0 commit comments