add sensor framework

This commit is contained in:
Liu_Weichao
2021-06-16 18:35:33 +08:00
parent b6b06aa538
commit fc505837b9
31 changed files with 222 additions and 778 deletions
+40
View File
@@ -0,0 +1,40 @@
menuconfig SENSOR_SENSORDEVICE
bool "Using sensor devices"
default y
if SENSOR_SENSORDEVICE
menuconfig SENSOR_CO2
bool "Using CO2 sensor device"
default n
if SENSOR_CO2
source "$APP_DIR/Framework/sensor/co2/Kconfig"
endif
menuconfig SENSOR_PM
bool "Using PM sensor device"
default n
if SENSOR_PM
source "$APP_DIR/Framework/sensor/pm/Kconfig"
endif
menuconfig SENSOR_VOICE
bool "Using voice sensor device"
default n
if SENSOR_VOICE
source "$APP_DIR/Framework/sensor/voice/Kconfig"
endif
menuconfig SENSOR_TEMPERATURE
bool "Using temperature sensor device"
default n
if SENSOR_TEMPERATURE
source "$APP_DIR/Framework/sensor/temperature/Kconfig"
endif
menuconfig SENSOR_HUMIDITY
bool "Using humidity sensor device"
default n
if SENSOR_HUMIDITY
source "$APP_DIR/Framework/sensor/humidity/Kconfig"
endif
endif