2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2013-08-10 17:06:53 +02:00
|
|
|
|
2020-02-15 14:38:35 +01:00
|
|
|
menuconfig SENSORS
|
|
|
|
bool "Sensor Device Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Drivers for various sensors
|
|
|
|
|
2020-02-08 08:30:09 +01:00
|
|
|
if SENSORS
|
|
|
|
|
2017-10-20 14:37:38 +02:00
|
|
|
config SENSORS_APDS9960
|
|
|
|
bool "Avago APDS-9960 Gesture Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Avago APDS-9960 gesture sensor.
|
|
|
|
|
|
|
|
config APDS9960_I2C_FREQUENCY
|
|
|
|
int "APDS-9960 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
depends on SENSORS_APDS9960
|
|
|
|
|
2019-07-10 13:31:36 +02:00
|
|
|
config SENSORS_AK09912
|
|
|
|
bool "Asahi AK09911/AK09912 Compass Sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver for AK09911/AK09912 Compass sensor.
|
|
|
|
|
2017-08-24 17:45:46 +02:00
|
|
|
config SENSORS_AS5048B
|
2015-08-07 16:24:29 +02:00
|
|
|
bool "AMS AS5048B Magnetic Rotary Encoder support"
|
|
|
|
default n
|
|
|
|
select I2C
|
2017-11-26 01:46:12 +01:00
|
|
|
select SENSORS_QENCODER
|
2015-08-07 16:24:29 +02:00
|
|
|
---help---
|
|
|
|
Enable driver support for the AMS AS5048B magnetic rotary encoder.
|
|
|
|
|
2019-06-05 14:50:03 +02:00
|
|
|
config SENSORS_AS726X
|
|
|
|
bool "AMS AS726X Spetral sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the AS726X Spectral Sensor.
|
|
|
|
|
2017-08-24 17:45:46 +02:00
|
|
|
config SENSORS_BH1750FVI
|
2016-04-15 16:16:16 +02:00
|
|
|
bool "Rohm BH1750FVI Ambient Light Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Rohm BH1750FVI light sensor.
|
|
|
|
|
2017-08-24 17:45:46 +02:00
|
|
|
config BH1750FVI_I2C_FREQUENCY
|
|
|
|
int "BH1750FVI I2C frequency"
|
|
|
|
default 400000
|
|
|
|
depends on SENSORS_BH1750FVI
|
|
|
|
|
|
|
|
config SENSORS_BMG160
|
2016-08-24 17:41:04 +02:00
|
|
|
bool "Bosch BMG160 Gyroscope Sensor support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Bosch BMG160 gyroscope sensor.
|
|
|
|
|
2019-06-20 15:32:36 +02:00
|
|
|
|
|
|
|
config SENSORS_BMI160
|
|
|
|
bool "Bosch BMI160 Inertial Measurement Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Bosch BMI160 Inertial
|
2019-10-06 05:39:12 +02:00
|
|
|
Measurement sensor
|
2019-06-20 15:32:36 +02:00
|
|
|
|
|
|
|
if SENSORS_BMI160
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "BMI160 Interface"
|
|
|
|
default SENSORS_BMI160_SPI
|
|
|
|
|
|
|
|
config SENSORS_BMI160_I2C
|
|
|
|
bool "BMI160 I2C Interface"
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface
|
|
|
|
|
|
|
|
config SENSORS_BMI160_SPI
|
|
|
|
bool "BMI160 SPI Interface"
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface
|
|
|
|
|
2019-08-22 14:49:05 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "I2C Address"
|
|
|
|
default BMI160_I2C_ADDR_68
|
|
|
|
|
|
|
|
config BMI160_I2C_ADDR_68
|
|
|
|
bool "0x68"
|
|
|
|
---help---
|
|
|
|
Default address.
|
|
|
|
If SDO pin is pulled to VDDIO, use 0x69
|
|
|
|
|
|
|
|
config BMI160_I2C_ADDR_69
|
|
|
|
bool "0x69"
|
|
|
|
---help---
|
|
|
|
If SDO pin is pulled to VDDIO, use 0x69
|
|
|
|
|
2019-06-20 15:32:36 +02:00
|
|
|
endchoice
|
|
|
|
endif
|
|
|
|
|
2017-08-24 17:45:46 +02:00
|
|
|
config SENSORS_BMP180
|
2015-07-20 15:18:27 +02:00
|
|
|
bool "Bosch BMP180 Barometer Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Bosch BMP180 barometer sensor.
|
|
|
|
|
2019-07-10 13:31:36 +02:00
|
|
|
config SENSORS_BMP280
|
|
|
|
bool "Bosch BMP280 Barometic Pressure Sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver for the Bosch BMP280 barometic pressure sensor.
|
|
|
|
|
2018-09-01 15:23:35 +02:00
|
|
|
config SENSORS_DHTXX
|
|
|
|
bool "DHTxx humidity/temperature Sensor support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for the DHTxx humidity/temperature sensor.
|
|
|
|
|
2017-08-18 02:52:54 +02:00
|
|
|
config SENSORS_HCSR04
|
|
|
|
bool "HC-SR04 Distance Measurement Sensor"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for the HC-SR04 Distance Sensor.
|
|
|
|
|
|
|
|
if SENSORS_HCSR04
|
|
|
|
|
|
|
|
config HCSR04_DEBUG
|
2019-03-25 18:16:21 +01:00
|
|
|
bool "Debug support for the HC-SR04"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the HC-SR04
|
2017-08-18 02:52:54 +02:00
|
|
|
|
|
|
|
config HCSR04_NPOLLWAITERS
|
2019-03-25 18:16:21 +01:00
|
|
|
int "Number of waiters to poll"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Number of waiters to poll
|
2017-08-18 02:52:54 +02:00
|
|
|
|
|
|
|
endif # SENSORS_HCSR04
|
|
|
|
|
2019-09-04 19:26:26 +02:00
|
|
|
config SENSORS_ISL29023
|
|
|
|
bool "Renesas ISL29023 ALS sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Renesas ISL29023 ambient light sensor.
|
|
|
|
|
|
|
|
if SENSORS_ISL29023
|
|
|
|
|
|
|
|
config ISL29023_I2C_FREQUENCY
|
|
|
|
int "ISL29023 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
|
|
|
|
endif # SENSORS_ISL29023
|
|
|
|
|
2017-08-24 17:32:24 +02:00
|
|
|
config SENSORS_HTS221
|
2017-03-31 13:53:43 +02:00
|
|
|
bool "STMicro HTS221 humidity sensor"
|
2017-03-30 17:34:03 +02:00
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
2017-03-31 13:53:43 +02:00
|
|
|
Enable driver support for the STMicro HTS221 humidity sensor.
|
2017-03-30 17:34:03 +02:00
|
|
|
|
2017-08-18 02:52:54 +02:00
|
|
|
if SENSORS_HTS221
|
2017-03-30 17:34:03 +02:00
|
|
|
|
2017-06-01 14:19:54 +02:00
|
|
|
config HTS221_I2C_FREQUENCY
|
|
|
|
int "HTS221 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
2017-08-24 17:22:36 +02:00
|
|
|
config HTS221_DEBUG
|
2017-03-30 17:34:03 +02:00
|
|
|
bool "Debug support for the HTS221"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the HTS221
|
|
|
|
|
|
|
|
config HTS221_NPOLLWAITERS
|
|
|
|
int "Number of waiters to poll"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Number of waiters to poll
|
|
|
|
|
2017-08-24 17:32:24 +02:00
|
|
|
endif # SENSORS_HTS221
|
2017-03-30 17:34:03 +02:00
|
|
|
|
2017-02-19 16:45:47 +01:00
|
|
|
config SENSORS_L3GD20
|
2017-03-31 13:53:43 +02:00
|
|
|
bool "STMicro L3GD20 Gyroscope Sensor support"
|
2017-02-19 16:45:47 +01:00
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
2017-03-31 13:53:43 +02:00
|
|
|
Enable driver support for the STMicro L3GD20 gyroscope sensor.
|
2017-02-19 16:45:47 +01:00
|
|
|
|
2016-08-02 18:38:14 +02:00
|
|
|
config SENSOR_KXTJ9
|
|
|
|
bool "Kionix KXTJ9 Accelerometer support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
|
2017-08-24 17:54:23 +02:00
|
|
|
if SENSORS_KXTJ9
|
2016-08-02 18:38:14 +02:00
|
|
|
|
2017-08-24 17:54:23 +02:00
|
|
|
config KXTJ9_I2C_BUS_SPEED
|
2016-08-02 18:38:14 +02:00
|
|
|
int "Kionix KXTJ9 Bus Speed in Hz"
|
|
|
|
default 400000
|
|
|
|
|
2017-08-24 17:54:23 +02:00
|
|
|
endif # SENSORS_KXTJ9
|
2016-08-02 18:38:14 +02:00
|
|
|
|
2017-08-24 17:54:23 +02:00
|
|
|
config SENSORS_LIS2DH
|
2017-04-03 15:28:22 +02:00
|
|
|
bool "STMicro LIS2DH device support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LIS2DH accelerometer
|
|
|
|
|
2017-08-24 17:54:23 +02:00
|
|
|
if SENSORS_LIS2DH
|
2017-04-03 15:28:22 +02:00
|
|
|
|
2017-06-01 14:19:54 +02:00
|
|
|
config LIS2DH_I2C_FREQUENCY
|
|
|
|
int "LIS2DH I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
2017-08-24 17:54:23 +02:00
|
|
|
config LIS2DH_DEBUG
|
2017-04-03 15:28:22 +02:00
|
|
|
bool "Debug support for the LIS2DH"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the LIS2DH
|
|
|
|
|
|
|
|
config LIS2DH_NPOLLWAITERS
|
|
|
|
int "Number of waiters to poll"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Maximum number of threads that can be waiting on poll()
|
|
|
|
|
|
|
|
config LIS2DH_DRIVER_SELFTEST
|
|
|
|
bool "Enable selftest in LIS2DH driver"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable selftest in LIS2DH driver
|
|
|
|
|
2017-08-24 17:54:23 +02:00
|
|
|
endif # SENSORS_LIS2DH
|
2017-04-03 15:28:22 +02:00
|
|
|
|
2016-08-24 16:28:45 +02:00
|
|
|
config LIS3DSH
|
2017-04-03 15:28:22 +02:00
|
|
|
bool "STMicro LIS3DSH 3-Axis accelerometer support"
|
2016-08-24 16:28:45 +02:00
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
2017-04-03 15:28:22 +02:00
|
|
|
Enable driver support for the STMicro LIS3DSH 3-Axis accelerometer.
|
2016-08-24 16:28:45 +02:00
|
|
|
|
2018-02-13 20:00:29 +01:00
|
|
|
config LIS3DH
|
|
|
|
bool "STMicro LIS3DH 3-Axis accelerometer support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LIS3DH 3-Axis accelerometer.
|
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config LIS331DL
|
2017-03-31 13:53:43 +02:00
|
|
|
bool "STMicro LIS331DL device support"
|
2012-04-13 16:27:44 +02:00
|
|
|
default n
|
|
|
|
select I2C
|
2016-02-01 21:17:20 +01:00
|
|
|
|
|
|
|
config LIS331DL_I2C_FREQUENCY
|
2016-02-02 14:13:03 +01:00
|
|
|
int "LIS331DL I2C frequency"
|
2016-02-01 21:17:20 +01:00
|
|
|
default 100000
|
|
|
|
range 1 100000
|
|
|
|
depends on LIS331DL
|
2013-12-09 17:51:22 +01:00
|
|
|
|
2018-04-07 22:46:54 +02:00
|
|
|
config SENSORS_LSM330SPI
|
|
|
|
bool "STMicro LSM330 SPI support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LSM330 on SPI.
|
|
|
|
|
2018-08-25 16:19:31 +02:00
|
|
|
config SENSORS_LSM303AGR
|
|
|
|
bool "STMicro LSM303AGR support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LSM303AGR.
|
|
|
|
|
|
|
|
config LSM303AGR_I2C_FREQUENCY
|
|
|
|
int "LSM303AGR I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
depends on SN_LSM303AGR
|
|
|
|
|
|
|
|
config SENSORS_LSM6DSL
|
|
|
|
bool "STMicro LSM6DSL support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LSM6DSL.
|
|
|
|
|
|
|
|
config LSM6DSL_I2C_FREQUENCY
|
|
|
|
int "LSM6DSL I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
depends on SN_LSM6DSL
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_LSM9DS1
|
2016-01-09 18:43:05 +01:00
|
|
|
bool "STMicro LSM9DS1 support"
|
|
|
|
default n
|
2017-07-28 15:16:35 +02:00
|
|
|
select I2C
|
2016-01-09 18:43:05 +01:00
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LSM9DS1.
|
|
|
|
|
2016-02-01 15:57:22 +01:00
|
|
|
config LSM9DS1_I2C_FREQUENCY
|
2016-02-02 14:13:03 +01:00
|
|
|
int "LSM9DS1 I2C frequency"
|
2016-02-01 15:57:22 +01:00
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
depends on SN_LSM9DS1
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_LPS25H
|
2017-03-31 13:53:43 +02:00
|
|
|
bool "STMicro LPS25H pressure sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LPS25H barometer sensor.
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
if SENSORS_LPS25H
|
2017-03-31 13:53:43 +02:00
|
|
|
|
2017-06-01 14:19:54 +02:00
|
|
|
config LPS25H_I2C_FREQUENCY
|
|
|
|
int "LPS25H I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
2017-03-31 13:53:43 +02:00
|
|
|
config DEBUG_LPS25H
|
|
|
|
bool "Debug support for the LPS25H"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the LPS25H
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
endif # SENSORS_LPS25H
|
2017-03-31 13:53:43 +02:00
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_LTC4151
|
2017-07-28 13:05:56 +02:00
|
|
|
bool "LTC4151 current and voltage monitor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the LinearTechnology LTC4151 current and voltage monitor.
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config LTC4151_I2C_FREQUENCY
|
|
|
|
int "LTC4151 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
depends on SENSORS_LTC4151
|
|
|
|
|
2017-10-11 01:03:56 +02:00
|
|
|
config SENSORS_INA219
|
|
|
|
bool "INA219 current and voltage monitor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Texas Instruments INA219 current and voltage monitor.
|
|
|
|
|
|
|
|
config INA219_I2C_FREQUENCY
|
|
|
|
int "INA219 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
depends on SENSORS_INA219
|
|
|
|
|
2018-10-19 17:04:56 +02:00
|
|
|
config SENSORS_INA226
|
|
|
|
bool "INA226 current and voltage monitor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Texas Instruments INA226 power monitor.
|
|
|
|
|
|
|
|
config INA226_I2C_FREQUENCY
|
|
|
|
int "INA226 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
depends on SENSORS_INA226
|
|
|
|
|
2018-05-03 00:29:59 +02:00
|
|
|
config SENSORS_INA3221
|
|
|
|
bool "INA3221 current and voltage monitor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Texas Instruments INA3221 current and voltage monitor.
|
|
|
|
|
|
|
|
config INA3221_I2C_FREQUENCY
|
|
|
|
int "INA3221 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
depends on SENSORS_INA3221
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_MB7040
|
2015-08-11 16:03:10 +02:00
|
|
|
bool "MaxBotix MB7040 Sonar support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the MaxBotix MB7040 sonar.
|
|
|
|
|
2016-02-01 15:57:22 +01:00
|
|
|
config MB7040_I2C_FREQUENCY
|
2016-02-02 14:13:03 +01:00
|
|
|
int "MB7040 I2C frequency"
|
2016-02-01 15:57:22 +01:00
|
|
|
default 400000
|
|
|
|
range 1 400000
|
2017-08-24 18:48:20 +02:00
|
|
|
depends on SENSORS_MB7040
|
2016-02-01 15:57:22 +01:00
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_MLX90393
|
2016-08-23 18:48:08 +02:00
|
|
|
bool "MLX90393 3-Axis Magnetometer"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Melex MLX90393 3-Axis magnetometer.
|
|
|
|
|
2018-10-28 22:58:14 +01:00
|
|
|
config SENSORS_MLX90614
|
|
|
|
bool "MLX90614 Infrared Thermometer"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Melexis MLX90614 Infrared Thermometer.
|
|
|
|
|
|
|
|
if SENSORS_MLX90614
|
|
|
|
config MLX90614_CRC
|
|
|
|
bool "Enable CRC Checking (verify if PEC field is valid)"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable checking of CRC-8 (PEC field) checking to guarantee that
|
|
|
|
read data is valid.
|
|
|
|
endif
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_MCP9844
|
2016-01-15 14:25:58 +01:00
|
|
|
bool "MCP9844 Temperature Sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the MCP9844 I2C Temperature sensor.
|
|
|
|
|
2016-02-01 15:57:22 +01:00
|
|
|
config MCP9844_I2C_FREQUENCY
|
2016-02-02 14:13:03 +01:00
|
|
|
int "MCP9844 I2C frequency"
|
2016-02-01 15:57:22 +01:00
|
|
|
default 400000
|
|
|
|
range 1 400000
|
2017-08-24 18:48:20 +02:00
|
|
|
depends on SENSORS_MCP9844
|
2016-02-01 15:57:22 +01:00
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_MS58XX
|
2015-08-14 19:47:18 +02:00
|
|
|
bool "MEAS MS58XX Altimeter support"
|
2015-08-11 21:05:56 +02:00
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
2015-08-14 19:47:18 +02:00
|
|
|
Enable driver support for MEAS MS58XX altimeters.
|
|
|
|
|
2016-02-01 15:57:22 +01:00
|
|
|
config MS58XX_I2C_FREQUENCY
|
2016-02-02 14:13:03 +01:00
|
|
|
int "MS58XX I2C frequency"
|
2016-02-01 15:57:22 +01:00
|
|
|
default 400000
|
|
|
|
range 1 400000
|
2017-08-24 18:48:20 +02:00
|
|
|
depends on SENSORS_MS58XX
|
2016-02-01 15:57:22 +01:00
|
|
|
|
2015-08-14 19:47:18 +02:00
|
|
|
config MS58XX_VDD
|
|
|
|
int "MEAS MS58XX VDD"
|
|
|
|
default 30
|
2017-08-24 18:48:20 +02:00
|
|
|
depends on SENSORS_MS58XX
|
2015-08-11 21:05:56 +02:00
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config SENSORS_MPL115A
|
2015-02-12 19:21:05 +01:00
|
|
|
bool "Freescale MPL115A Barometer Sensor support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Freescale MPL115A barometer sensor.
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config MPL115A_REGDEBUG
|
|
|
|
bool "Debug support for the MPL115A"
|
|
|
|
default n
|
|
|
|
depends on SENSORS_MPL115A
|
|
|
|
---help---
|
|
|
|
Enables register level debug features for the MPL115A
|
|
|
|
|
2014-12-16 15:16:53 +01:00
|
|
|
config SENSORS_ADXL345
|
2018-04-07 22:46:54 +02:00
|
|
|
bool "Analog Devices ADXL345 Driver"
|
2014-12-16 15:16:53 +01:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables support for the ADXL345 driver
|
|
|
|
|
|
|
|
if SENSORS_ADXL345
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "ADXL345 Interface"
|
|
|
|
default ADXL345_SPI
|
|
|
|
|
|
|
|
config ADXL345_SPI
|
|
|
|
bool "ADXL345 SPI Interface"
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface.
|
|
|
|
|
|
|
|
config ADXL345_I2C
|
|
|
|
bool "ADXL345 I2C Interface"
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ADXL345_ACTIVELOW
|
|
|
|
bool "Active Low Interrupt"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The ADXL345 interrupt will be inverted. Instead starting low and going
|
|
|
|
high, it will start high and will go low when an interrupt is fired.
|
|
|
|
Default: Active high/rising edge.
|
|
|
|
|
|
|
|
config ADXL345_REGDEBUG
|
|
|
|
bool "Enable Register-Level ADXL345 Debug"
|
|
|
|
default n
|
2016-06-11 22:14:08 +02:00
|
|
|
depends on DEBUG_FEATURES
|
2014-12-16 15:16:53 +01:00
|
|
|
---help---
|
|
|
|
Enable very low register-level debug output.
|
|
|
|
|
|
|
|
endif # SENSORS_ADXL345
|
|
|
|
|
2018-04-07 22:46:54 +02:00
|
|
|
config SENSORS_ADXL372
|
|
|
|
bool "Analog Devices ADXL372 Sensor support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Analog Devices ADXL372 Sensor.
|
|
|
|
|
2019-03-07 23:50:37 +01:00
|
|
|
config SENSORS_MPU60X0
|
2019-03-25 18:16:21 +01:00
|
|
|
bool "Invensense MPU60x0 Sensor support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for Invensense MPU60x0 MotionTracker(tm) device.
|
2019-03-07 23:50:37 +01:00
|
|
|
|
|
|
|
if SENSORS_MPU60X0
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "MPU60x0 Interface"
|
|
|
|
default MPU60X0_SPI
|
|
|
|
|
|
|
|
config MPU60X0_SPI
|
|
|
|
bool "MPU6000 SPI Interface"
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface (MPU6000 only)
|
|
|
|
|
|
|
|
config MPU60X0_I2C
|
|
|
|
bool "MPU60x0 I2C Interface"
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface (MPU6000
|
|
|
|
or MPU6050, autodetected during driver initialization)
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2020-06-25 02:30:53 +02:00
|
|
|
config MPU60X0_I2C_FREQ
|
|
|
|
int "MPU60x0 I2C Frequency"
|
|
|
|
depends on MPU60X0_I2C
|
|
|
|
default 400000
|
|
|
|
|
2019-03-07 23:50:37 +01:00
|
|
|
config MPU60X0_EXTI
|
|
|
|
bool "Enable interrupts"
|
|
|
|
default n
|
|
|
|
---help---
|
2019-03-25 18:16:21 +01:00
|
|
|
Select this when the MPU60x0's INT pin is connected to an
|
2019-03-07 23:50:37 +01:00
|
|
|
interrupt line on the host processor, and identify the pin
|
|
|
|
during device registration. The driver will use interrupts to
|
|
|
|
manage FIFO-full and/or sample-ready events, depending on how
|
|
|
|
the device is being used. The interface will block until the
|
|
|
|
next sample is ready, which will naturally synchronize the user
|
|
|
|
to the sampling rate chosen during operation.
|
|
|
|
Default: No interrupts or blocking, i.e. user-driven sampling.
|
|
|
|
|
|
|
|
endif # SENSORS_MPU60X0
|
|
|
|
|
2018-01-29 14:56:06 +01:00
|
|
|
config SENSORS_MAX44009
|
|
|
|
bool "Maxim MAX44009 ALS sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables MAX44009 Ambient Light Sensor
|
|
|
|
|
|
|
|
if SENSORS_MAX44009
|
|
|
|
|
|
|
|
config MAX44009_I2C_FREQUENCY
|
|
|
|
int "MAX44009 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
|
|
|
config DEBUG_MAX44009
|
|
|
|
bool "Enable debug support for the MAX44009"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug support for the MAX44009
|
|
|
|
|
|
|
|
config MAX44009_NPOLLWAITERS
|
|
|
|
int "Number of waiters to poll"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Number of waiters to poll
|
|
|
|
|
|
|
|
endif # SENSORS_MAX44009
|
|
|
|
|
2017-08-24 18:10:00 +02:00
|
|
|
config SENSORS_MAX31855
|
2015-09-13 23:56:48 +02:00
|
|
|
bool "Maxim MAX31855 Driver"
|
|
|
|
default n
|
2017-03-31 13:53:43 +02:00
|
|
|
select SPI
|
2015-09-13 23:56:48 +02:00
|
|
|
---help---
|
|
|
|
Enables support for the MAX31855 driver
|
|
|
|
|
2017-08-24 18:10:00 +02:00
|
|
|
config SENSORS_MAX6675
|
2015-10-18 01:52:47 +02:00
|
|
|
bool "Maxim MAX6675 Driver"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the MAX6675 driver
|
|
|
|
|
2017-08-24 18:10:00 +02:00
|
|
|
config SENSORS_LIS3MDL
|
2016-08-23 16:22:47 +02:00
|
|
|
bool "STMicro LIS3MDL 3-Axis magnetometer support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
2017-03-31 13:53:43 +02:00
|
|
|
Enable driver support for the STMicro LIS3MDL 3-axis magnetometer.
|
2016-08-23 16:22:47 +02:00
|
|
|
|
2017-08-24 18:10:00 +02:00
|
|
|
config LM75_I2C
|
|
|
|
bool
|
|
|
|
default y if LM75
|
|
|
|
|
|
|
|
config SENSORS_LM75
|
2012-04-13 16:27:44 +02:00
|
|
|
bool "STMicro LM-75 Temperature Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
2017-08-24 18:10:00 +02:00
|
|
|
select LM75_I2C
|
2015-01-06 18:50:56 +01:00
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LM-75 temperature sensor.
|
|
|
|
This should also work with compatible temperature sensors such as
|
|
|
|
the TI TMP100/101.
|
2012-04-13 16:27:44 +02:00
|
|
|
|
2016-02-01 15:57:22 +01:00
|
|
|
config LM75_I2C_FREQUENCY
|
2016-02-02 14:13:03 +01:00
|
|
|
int "LM75 I2C frequency"
|
2016-02-01 15:57:22 +01:00
|
|
|
default 100000
|
|
|
|
range 1 100000
|
2017-08-24 18:10:00 +02:00
|
|
|
depends on LM75_I2C
|
2016-02-01 15:57:22 +01:00
|
|
|
|
2017-08-24 18:26:53 +02:00
|
|
|
config SENSORS_LM92
|
2015-08-07 00:33:02 +02:00
|
|
|
bool "TI LM92 Temperature Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the TI LM92 Temperature Sensor.
|
2015-08-06 19:07:33 +02:00
|
|
|
|
2016-02-01 15:57:22 +01:00
|
|
|
config LM92_I2C_FREQUENCY
|
2016-02-02 14:13:03 +01:00
|
|
|
int "LM92 I2C frequency"
|
2016-02-01 15:57:22 +01:00
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
depends on LM92
|
|
|
|
|
2019-01-09 14:35:44 +01:00
|
|
|
config SENSORS_SCD30
|
|
|
|
bool "Sensirion SCD30 CO2, humidity and temperature sensor"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensirion SCD30 CO₂, humidity and
|
|
|
|
temperature sensor.
|
|
|
|
|
|
|
|
if SENSORS_SCD30
|
|
|
|
|
|
|
|
config SCD30_I2C
|
|
|
|
bool "Sensirion SCD30 I2C mode"
|
|
|
|
default y
|
|
|
|
select I2C
|
|
|
|
|
|
|
|
config SCD30_I2C_FREQUENCY
|
|
|
|
int "SCD30 I2C frequency"
|
|
|
|
default 100000
|
|
|
|
range 1 100000
|
|
|
|
depends on SCD30_I2C
|
|
|
|
---help---
|
|
|
|
I2C frequency for SCD30. Note, maximum supported frequency for
|
|
|
|
this sensor is 100kHz.
|
|
|
|
|
|
|
|
config SCD30_DEBUG
|
|
|
|
bool "Debug support for the SCD30"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SCD30
|
|
|
|
|
|
|
|
endif # SENSORS_SCD30
|
|
|
|
|
|
|
|
config SENSORS_SGP30
|
|
|
|
bool "Sensirion SGP30 Gas Platform sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensirion SCD30 CO₂ and TVOC gas sensor.
|
|
|
|
|
|
|
|
if SENSORS_SGP30
|
|
|
|
|
|
|
|
config SGP30_I2C_FREQUENCY
|
|
|
|
int "SGP30 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
|
|
|
config SGP30_DEBUG
|
|
|
|
bool "Debug support for the SGP30"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SGP30
|
|
|
|
|
|
|
|
endif # SENSORS_SGP30
|
|
|
|
|
2019-12-02 15:36:09 +01:00
|
|
|
config SENSORS_AHT10
|
|
|
|
bool "ASAIR AHT10 temperature and humidity sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the ASAIR AHT10 temperature and humidity sensors.
|
|
|
|
|
|
|
|
if SENSORS_AHT10
|
|
|
|
config AHT10_I2C_FREQUENCY
|
|
|
|
int "AHT10 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
endif # SENSORS_AHT10
|
|
|
|
|
2018-03-13 15:26:15 +01:00
|
|
|
config SENSORS_SHT21
|
|
|
|
bool "Sensirion SHT21 temperature and humidity sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensirion SHT20 and SHT21 temperature
|
|
|
|
and humidity sensors. SHT20 is a budget model with limited humidity
|
|
|
|
precision.
|
|
|
|
|
|
|
|
if SENSORS_SHT21
|
|
|
|
|
|
|
|
config SHT21_I2C_FREQUENCY
|
|
|
|
int "SHT21 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
|
|
|
config SHT21_DEBUG
|
|
|
|
bool "Debug support for the SHT21"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SHT21
|
|
|
|
|
|
|
|
endif # SENSORS_SHT21
|
|
|
|
|
2019-08-08 15:34:15 +02:00
|
|
|
config SENSORS_SHT3X
|
|
|
|
bool "Sensirion SHT3x temperature and humidity sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensirion SHT3x temperature
|
|
|
|
and humidity sensors.
|
|
|
|
|
|
|
|
if SENSORS_SHT3X
|
|
|
|
|
|
|
|
config SHT3X_I2C_FREQUENCY
|
|
|
|
int "SHT3x I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
|
|
|
config SHT3X_I2C_ADDR
|
|
|
|
hex "SHT3x I2C addr"
|
|
|
|
default 0x44
|
|
|
|
range 0x44 0x45
|
|
|
|
|
|
|
|
config SHT3X_DEBUG
|
|
|
|
bool "Debug support for the SHT3x"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SHT3x
|
|
|
|
|
|
|
|
endif # SENSORS_SHT3X
|
|
|
|
|
2019-01-09 14:35:44 +01:00
|
|
|
config SENSORS_SPS30
|
|
|
|
bool "Sensirion SPS30 particulate matter sensor"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensirion SPS30 particulate matter sensor
|
|
|
|
sensor.
|
|
|
|
|
|
|
|
if SENSORS_SPS30
|
|
|
|
|
|
|
|
config SPS30_I2C
|
|
|
|
bool "Sensirion SPS30 I2C mode"
|
|
|
|
default y
|
|
|
|
select I2C
|
|
|
|
|
|
|
|
config SPS30_I2C_FREQUENCY
|
|
|
|
int "SPS30 I2C frequency"
|
|
|
|
default 100000
|
|
|
|
range 1 100000
|
|
|
|
depends on SPS30_I2C
|
|
|
|
---help---
|
|
|
|
I2C frequency for SPS30. Note, maximum supported frequency for
|
|
|
|
this sensor is 100kHz.
|
|
|
|
|
|
|
|
config SPS30_DEBUG
|
|
|
|
bool "Debug support for the SPS30"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SPS30
|
|
|
|
|
|
|
|
endif # SENSORS_SPS30
|
|
|
|
|
2018-06-15 14:52:16 +02:00
|
|
|
config SENSORS_T67XX
|
|
|
|
bool "Telair T6713 carbon dioxide sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Telair T6713 and T6703 carbon
|
|
|
|
dioxide sensors.
|
|
|
|
|
2017-08-24 18:26:53 +02:00
|
|
|
config SENSORS_QENCODER
|
2012-04-13 16:27:44 +02:00
|
|
|
bool "Qencoder"
|
|
|
|
default n
|
2015-10-13 15:27:16 +02:00
|
|
|
|
2017-08-24 18:26:53 +02:00
|
|
|
config SENSORS_VEML6070
|
2016-11-13 18:44:28 +01:00
|
|
|
bool "Vishay VEML6070 UV-A Light Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Vishay VEML6070 UV-A light sensor.
|
|
|
|
|
2017-08-24 18:26:53 +02:00
|
|
|
config VEML6070_I2C_FREQUENCY
|
|
|
|
int "VEML6070 I2C frequency"
|
|
|
|
default 100000
|
|
|
|
depends on SENSORS_VEML6070
|
|
|
|
|
2019-07-10 15:58:20 +02:00
|
|
|
config SENSORS_VL53L1X
|
|
|
|
bool "ST VL53L1X TOF sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the VL53L1X Time Of Flight sensor.
|
|
|
|
|
2017-08-24 18:26:53 +02:00
|
|
|
config SENSORS_XEN1210
|
2016-09-16 20:45:53 +02:00
|
|
|
bool "Sensixs XEN1210 Magnetometer"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensixs XEN1210 Magnetometer.
|
|
|
|
|
2017-08-24 18:48:20 +02:00
|
|
|
config XEN1210_REGDEBUG
|
2017-08-24 18:26:53 +02:00
|
|
|
bool "Debug support for the XEN1210"
|
|
|
|
default n
|
2017-08-24 18:48:20 +02:00
|
|
|
depends on SENSORS_XEN1210
|
2017-08-24 18:26:53 +02:00
|
|
|
---help---
|
|
|
|
Enables register level debug features for the XEN1210
|
|
|
|
|
|
|
|
config SENSORS_ZEROCROSS
|
2015-10-13 15:27:16 +02:00
|
|
|
bool "Zero Cross Sensor"
|
|
|
|
default n
|
2019-08-28 23:35:43 +02:00
|
|
|
|
|
|
|
config SENSORS_ADT7320
|
|
|
|
bool "Analog Devices ADT7320 Driver"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the ADT7320 Driver
|
2020-02-08 08:30:09 +01:00
|
|
|
|
2020-05-04 21:16:07 +02:00
|
|
|
config SENSORS_HDC1008
|
|
|
|
bool "TI HDC1008 temperature and humidity sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the TI HDC1008 temperature and humidity sensor.
|
|
|
|
|
|
|
|
if SENSORS_HDC1008
|
|
|
|
|
|
|
|
config HDC1008_I2C_ADDRESS
|
|
|
|
hex "HDC1008 I2C address"
|
|
|
|
default 0x40
|
|
|
|
range 0x40 0x43
|
|
|
|
---help---
|
|
|
|
The I2C address of the HDC1008 sensor. It can be configured via straps to
|
|
|
|
a value between 0x40 and 0x43.
|
|
|
|
|
|
|
|
config HDC1008_I2C_FREQUENCY
|
|
|
|
int "HDC1008 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
|
|
|
config HDC1008_DEBUG
|
|
|
|
bool "Debug support for the HDC1008"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the HDC1008
|
|
|
|
|
|
|
|
endif # SENSORS_HDC1008
|
2020-02-08 08:30:09 +01:00
|
|
|
endif # SENSORS
|