drivers/sensors/Kconfig: Added if SENSORS_BME680 for common dependency

sensor BME680: Added if SENSORS_BME680
This commit is contained in:
simbit18 2024-04-29 16:01:56 +02:00 committed by Xiang Xiao
parent 0db7417dc0
commit 7e30d38558

View file

@ -384,35 +384,32 @@ config SENSORS_BME680
---help---
Enable driver for the Bosch BME680 sensor.
if SENSORS_BME680
config BME680_I2C_FREQUENCY
int "BME680 I2C frequency"
depends on SENSORS_BME680
default 400000
config BME680_DISABLE_PRESS_MEAS
bool "Disable Pressure Measurement"
depends on SENSORS_BME680
default n
---help---
If enabled, the sensor will not measure pressure.
config BME680_DISABLE_HUM_MEAS
bool "Disable Humidity Measurement"
depends on SENSORS_BME680
default n
---help---
If enabled, the sensor will not measure humidity.
config BME680_DISABLE_GAS_MEAS
bool "Disable Gas Measurement"
depends on SENSORS_BME680
default n
---help---
If enabled, the sensor will not measure gas.
config BME680_ENABLE_IIR_FILTER
bool "Enable IIR Filter"
depends on SENSORS_BME680
default n
---help---
Enable IIR filtering for temperature and pressure
@ -420,7 +417,6 @@ config BME680_ENABLE_IIR_FILTER
config SENSORS_BME680_POLL_INTERVAL
int "Polling interval in microseconds, default 3 sec"
depends on SENSORS_BME680
default 3000000
range 0 4294967295
---help---
@ -428,11 +424,12 @@ config SENSORS_BME680_POLL_INTERVAL
config SENSORS_BME680_THREAD_STACKSIZE
int "Worker thread stack size"
depends on SENSORS_BME680
default 1024
---help---
The stack size for the worker thread.
endif # SENSORS_BME680
config SENSORS_DHTXX
bool "DHTxx humidity/temperature Sensor support"
default n