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
|
|
|
|
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
|
2015-08-10 20:59:11 +02:00
|
|
|
select QENCODER
|
2015-08-07 16:24:29 +02:00
|
|
|
---help---
|
|
|
|
Enable driver support for the AMS AS5048B magnetic rotary encoder.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
bool "Debug support for the HC-SR04"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the HC-SR04
|
|
|
|
|
|
|
|
config HCSR04_NPOLLWAITERS
|
|
|
|
int "Number of waiters to poll"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Number of waiters to poll
|
|
|
|
|
|
|
|
endif # SENSORS_HCSR04
|
|
|
|
|
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
|
|
|
|
|
|
|
|
if SENSOR_KXTJ9
|
|
|
|
|
|
|
|
config SENSOR_KXTJ9_I2C_BUS_SPEED
|
|
|
|
int "Kionix KXTJ9 Bus Speed in Hz"
|
|
|
|
default 400000
|
|
|
|
|
|
|
|
endif # SENSOR_KXTJ9
|
|
|
|
|
2017-04-03 15:28:22 +02:00
|
|
|
config LIS2DH
|
|
|
|
bool "STMicro LIS2DH device support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LIS2DH accelerometer
|
|
|
|
|
|
|
|
if LIS2DH
|
|
|
|
|
2017-06-01 14:19:54 +02:00
|
|
|
config LIS2DH_I2C_FREQUENCY
|
|
|
|
int "LIS2DH I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
2017-04-03 15:28:22 +02:00
|
|
|
config DEBUG_LIS2DH
|
|
|
|
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
|
|
|
|
|
|
|
|
endif # LIS2DH
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
2016-01-09 18:43:05 +01:00
|
|
|
config SN_LSM9DS1
|
|
|
|
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-03-31 13:53:43 +02:00
|
|
|
config LPS25H
|
|
|
|
bool "STMicro LPS25H pressure sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LPS25H barometer sensor.
|
|
|
|
|
|
|
|
if LPS25H
|
|
|
|
|
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
|
|
|
|
|
|
|
|
endif # LPS25H
|
|
|
|
|
2017-07-28 13:05:56 +02:00
|
|
|
config LTC4151
|
|
|
|
bool "LTC4151 current and voltage monitor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the LinearTechnology LTC4151 current and voltage monitor.
|
|
|
|
|
2015-08-11 16:03:10 +02:00
|
|
|
config MB7040
|
|
|
|
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
|
|
|
|
depends on MB7040
|
|
|
|
|
2016-08-23 18:48:08 +02:00
|
|
|
config MLX90393
|
|
|
|
bool "MLX90393 3-Axis Magnetometer"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Melex MLX90393 3-Axis magnetometer.
|
|
|
|
|
2016-01-15 14:25:58 +01:00
|
|
|
config MCP9844
|
|
|
|
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
|
|
|
|
depends on MCP9844
|
|
|
|
|
2015-08-14 19:47:18 +02:00
|
|
|
config MS58XX
|
|
|
|
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
|
|
|
|
depends on MS58XX
|
|
|
|
|
2015-08-14 19:47:18 +02:00
|
|
|
config MS58XX_VDD
|
|
|
|
int "MEAS MS58XX VDD"
|
|
|
|
default 30
|
2017-05-15 15:22:17 +02:00
|
|
|
depends on MS58XX
|
2015-08-11 21:05:56 +02:00
|
|
|
|
2015-02-12 19:21:05 +01:00
|
|
|
config MPL115A
|
|
|
|
bool "Freescale MPL115A Barometer Sensor support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Freescale MPL115A barometer sensor.
|
|
|
|
|
2014-12-16 15:16:53 +01:00
|
|
|
config SENSORS_ADXL345
|
|
|
|
bool "AnalogDevices ADXL345 Driver"
|
|
|
|
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
|
|
|
|
|
2015-09-13 23:56:48 +02:00
|
|
|
config MAX31855
|
|
|
|
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
|
|
|
|
|
2015-10-18 01:52:47 +02:00
|
|
|
config MAX6675
|
|
|
|
bool "Maxim MAX6675 Driver"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the MAX6675 driver
|
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config I2C_LM75
|
|
|
|
bool
|
|
|
|
default y if LM75
|
|
|
|
|
2016-08-23 16:22:47 +02:00
|
|
|
config LIS3MDL
|
|
|
|
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
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config LM75
|
|
|
|
bool "STMicro LM-75 Temperature Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
select I2C_LM75
|
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
|
|
|
|
depends on I2C_LM75
|
|
|
|
|
2015-08-06 19:07:33 +02:00
|
|
|
config 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
|
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config QENCODER
|
|
|
|
bool "Qencoder"
|
|
|
|
default n
|
2015-10-13 15:27:16 +02:00
|
|
|
|
2016-11-13 18:44:28 +01:00
|
|
|
config VEML6070
|
|
|
|
bool "Vishay VEML6070 UV-A Light Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Vishay VEML6070 UV-A light sensor.
|
|
|
|
|
2016-09-16 20:45:53 +02:00
|
|
|
config XEN1210
|
|
|
|
bool "Sensixs XEN1210 Magnetometer"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensixs XEN1210 Magnetometer.
|
|
|
|
|
2015-10-13 15:27:16 +02:00
|
|
|
config ZEROCROSS
|
|
|
|
bool "Zero Cross Sensor"
|
|
|
|
default n
|