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
|
|
|
|
|
2022-03-03 14:40:58 +01:00
|
|
|
config USENSOR
|
|
|
|
bool "Usensor Device Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Allow application to register user sensor by /dev/usensor.
|
|
|
|
|
2022-04-08 16:46:29 +02:00
|
|
|
config SENSORS_RPMSG
|
2023-10-27 12:56:33 +02:00
|
|
|
bool "Sensor RPMSG Support"
|
2022-04-08 16:46:29 +02:00
|
|
|
default n
|
2024-02-04 07:30:39 +01:00
|
|
|
depends on RPMSG
|
2022-04-08 16:46:29 +02:00
|
|
|
---help---
|
2023-10-27 12:56:33 +02:00
|
|
|
Allow application to read or control remote sensor device by RPMSG.
|
2022-04-08 16:46:29 +02:00
|
|
|
|
2023-05-19 17:11:04 +02:00
|
|
|
config SENSORS_GPS
|
|
|
|
bool "GPS Support"
|
|
|
|
default n
|
|
|
|
depends on GPSUTILS_MINMEA_LIB
|
|
|
|
---help---
|
|
|
|
Allow application to use gps by /dev/uorb/gps or /dev/ttyGPS
|
|
|
|
|
2020-10-19 15:30:22 +02:00
|
|
|
config SENSORS_WTGAHRS2
|
|
|
|
bool "Wtgahrs2 Sensor Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
We can read sensor data by serial interface. It need the hardware sensor
|
|
|
|
wtgashrs2(JY901) as data source. This sensor can generate accelerometer,
|
|
|
|
gyroscope, magnetic, barometer and gps data.
|
|
|
|
|
2021-02-09 04:43:58 +01:00
|
|
|
config SENSORS_FAKESENSOR
|
|
|
|
bool "Fake Sensor Support"
|
2023-05-28 16:19:27 +02:00
|
|
|
depends on SENSORS_GPS
|
2021-02-09 04:43:58 +01:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Simulate physical sensor by reading data from csv file.
|
|
|
|
The file structure is as follows:
|
|
|
|
First row : set interval, unit millisecond
|
|
|
|
Second row: csv file header
|
|
|
|
third row : data
|
|
|
|
(Each line should not exceed 50 characters)
|
|
|
|
For example:
|
|
|
|
interval:12
|
|
|
|
x,y,z
|
|
|
|
2.1234,3.23443,2.23456
|
|
|
|
...
|
|
|
|
|
2023-07-17 15:56:34 +02:00
|
|
|
config SENSORS_GOLDFISH_GPS
|
|
|
|
bool "Goldfish GPS Support"
|
|
|
|
depends on SENSORS_GPS
|
|
|
|
default n
|
|
|
|
|
2023-07-18 08:48:03 +02:00
|
|
|
config SENSORS_GOLDFISH_SENSOR
|
|
|
|
bool "Goldfish SENSORS Support"
|
|
|
|
default n
|
|
|
|
|
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
|
|
|
|
|
2023-02-11 13:08:40 +01:00
|
|
|
config SENSORS_APDS9922
|
|
|
|
bool "Broadcom APDS-9922 Proximity and Ambient Light Sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Broadcom APDS-9922 proximity and ambient light sensor.
|
|
|
|
|
|
|
|
config APDS9922_I2C_FREQUENCY
|
|
|
|
int "APDS-9922 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
depends on SENSORS_APDS9922
|
|
|
|
|
|
|
|
config APDS9922_ALS_NPOLLWAITERS
|
|
|
|
int "APDS-9922 - number of ALS poll waiters"
|
|
|
|
default 2
|
|
|
|
depends on SENSORS_APDS9922
|
|
|
|
---help---
|
|
|
|
Sets the number of poll waiters for the ambient light sensor
|
|
|
|
|
|
|
|
config APDS9922_PS_NPOLLWAITERS
|
|
|
|
int "APDS-9922 - number of PS poll waiters"
|
|
|
|
default 2
|
2023-09-13 14:31:50 +02:00
|
|
|
depends on SENSORS_APDS9922
|
2023-02-11 13:08:40 +01:00
|
|
|
---help---
|
|
|
|
Sets the number of poll waiters for the proximity sensor
|
|
|
|
|
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.
|
|
|
|
|
2022-06-12 11:48:27 +02:00
|
|
|
config SENSORS_AS5048A
|
|
|
|
bool "AMS AS5048A Magnetic Rotary Encoder support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
select SENSORS_QENCODER
|
|
|
|
---help---
|
|
|
|
Enable driver support for the AMS AS5048A magnetic rotary encoder.
|
|
|
|
|
2019-06-05 14:50:03 +02:00
|
|
|
config SENSORS_AS726X
|
|
|
|
bool "AMS AS726X Spetral sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
2022-02-21 09:06:53 +01:00
|
|
|
depends on ALLOW_BSD_COMPONENTS
|
2019-06-05 14:50:03 +02:00
|
|
|
---help---
|
|
|
|
Enable driver support for the AS726X Spectral Sensor.
|
|
|
|
|
2023-05-31 19:46:08 +02:00
|
|
|
config SENSORS_BH1749NUC
|
|
|
|
bool "Rohm BH1749NUC Color Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Rohm BH1749NUC color sensor.
|
|
|
|
|
2024-03-02 09:28:16 +01:00
|
|
|
if SENSORS_BH1749NUC
|
|
|
|
|
2024-05-01 18:55:46 +02:00
|
|
|
config BH1749NUC_I2C_FREQUENCY
|
|
|
|
int "BH1749NUC I2C frequency"
|
|
|
|
default 400000
|
|
|
|
|
2024-03-02 09:28:16 +01:00
|
|
|
config SENSORS_BH1749NUC_UORB
|
|
|
|
bool "BH1749NUC UORB Interface"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if SENSORS_BH1749NUC_UORB
|
|
|
|
|
|
|
|
config SENSORS_BH1749NUC_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_BH1749NUC_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_BH1749NUC_POLL
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_BH1749NUC_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_BH1749NUC_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
|
|
|
endif #SENSORS_BH1749NUC_UORB
|
|
|
|
|
|
|
|
endif # SENSORS_BH1749NUC
|
|
|
|
|
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
|
|
|
|
|
2023-08-14 14:58:40 +02:00
|
|
|
config SENSORS_BMI160_UORB
|
|
|
|
bool "BMI160 UORB Interface"
|
|
|
|
default n
|
|
|
|
---help---
|
2023-12-04 12:49:55 +01:00
|
|
|
Enables Work with the UORB or Character Device interface.
|
|
|
|
If not set, the Character Device is used by default.
|
2023-08-14 14:58:40 +02:00
|
|
|
|
2019-06-20 15:32:36 +02:00
|
|
|
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
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endchoice # BMI160 Interface
|
2019-08-22 14:49:05 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "I2C Address"
|
|
|
|
default BMI160_I2C_ADDR_68
|
|
|
|
|
|
|
|
config BMI160_I2C_ADDR_68
|
|
|
|
bool "0x68"
|
|
|
|
---help---
|
|
|
|
Default address.
|
2023-04-11 17:50:46 +02:00
|
|
|
If SDO pin is pulled to GND, use 0x68
|
2019-08-22 14:49:05 +02:00
|
|
|
|
|
|
|
config BMI160_I2C_ADDR_69
|
|
|
|
bool "0x69"
|
|
|
|
---help---
|
|
|
|
If SDO pin is pulled to VDDIO, use 0x69
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endchoice # I2C Address
|
|
|
|
|
|
|
|
endif # SENSORS_BMI160
|
2019-06-20 15:32:36 +02:00
|
|
|
|
2023-05-31 21:09:10 +02:00
|
|
|
config SENSORS_BMI270
|
|
|
|
bool "Bosch BMI270 Inertial Measurement Sensor support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Bosch BMI270 Inertial
|
|
|
|
Measurement sensor
|
|
|
|
|
|
|
|
if SENSORS_BMI270
|
|
|
|
|
2024-02-27 19:05:03 +01:00
|
|
|
config SENSORS_BMI270_UORB
|
|
|
|
bool "Bosch BMI270 UORB"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if SENSORS_BMI270_UORB
|
|
|
|
|
|
|
|
config SENSORS_BMI270_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_BMI270_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_BMI270_POLL
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_BMI270_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_BMI270_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
|
|
|
endif #SENSORS_BMI270_UORB
|
|
|
|
|
2023-05-31 21:09:10 +02:00
|
|
|
choice
|
|
|
|
prompt "BMI270 Interface"
|
|
|
|
default SENSORS_BMI270_SPI
|
|
|
|
|
|
|
|
config SENSORS_BMI270_I2C
|
|
|
|
bool "BMI270 I2C Interface"
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface
|
|
|
|
|
|
|
|
config SENSORS_BMI270_SPI
|
|
|
|
bool "BMI270 SPI Interface"
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endchoice # BMI270 Interface
|
2023-05-31 21:09:10 +02:00
|
|
|
|
2023-08-29 12:55:23 +02:00
|
|
|
config SENSORS_BMI270_LOAD_FROM_HEAP
|
|
|
|
bool "BMI270 config loading from heap memory"
|
2023-09-29 11:29:46 +02:00
|
|
|
default ARCH_DMA_NO_FLASH_TRANSFER
|
2023-08-29 12:55:23 +02:00
|
|
|
---help---
|
|
|
|
Enable support to load the configuration data from heap memory.
|
|
|
|
Some chips can not do DMA transfer from FLASH and therefore
|
|
|
|
it is necessary to transfer the configuration file to RAM.
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endif # SENSORS_BMI270
|
2023-05-31 21:09:10 +02:00
|
|
|
|
2023-05-31 19:37:38 +02:00
|
|
|
config SENSORS_BMM150
|
|
|
|
bool "Bosch BMM150 Magnetometer support (uorb)"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Bosch BMM150 magnetometer sensor.
|
|
|
|
|
|
|
|
if SENSORS_BMM150
|
|
|
|
|
2024-05-01 18:56:58 +02:00
|
|
|
config BMM150_I2C_FREQUENCY
|
|
|
|
int "BMM150 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
|
2023-05-31 19:37:38 +02:00
|
|
|
config SENSORS_BMM150_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_BMM150_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_BMM150_POLL
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_BMM150_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_BMM150_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
|
|
|
endif # SENSORS_BMM150
|
|
|
|
|
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.
|
|
|
|
|
2023-09-06 05:02:33 +02:00
|
|
|
if SENSORS_BMP180
|
|
|
|
|
|
|
|
config SENSORS_BMP180_UORB
|
|
|
|
bool "BMP180 UORB Interface"
|
|
|
|
---help---
|
|
|
|
Enables work with the UORB or Character Device interface.
|
|
|
|
If not set, the Character Device is used by default.
|
|
|
|
|
|
|
|
endif #SENSORS_BMP180
|
|
|
|
|
2019-07-10 13:31:36 +02:00
|
|
|
config SENSORS_BMP280
|
2023-04-12 17:19:15 +02:00
|
|
|
bool "Bosch BMP280 Barometric Pressure Sensor"
|
2019-07-10 13:31:36 +02:00
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
2023-04-12 17:19:15 +02:00
|
|
|
Enable driver for the Bosch BMP280 barometric pressure sensor.
|
2019-07-10 13:31:36 +02:00
|
|
|
|
2021-01-18 17:30:29 +01:00
|
|
|
if SENSORS_BMP280
|
|
|
|
|
2024-08-10 18:17:06 +02:00
|
|
|
choice
|
|
|
|
prompt "I2C Address"
|
|
|
|
default BMP280_I2C_ADDR_76
|
|
|
|
|
|
|
|
config BMP280_I2C_ADDR_76
|
|
|
|
bool "0x76"
|
|
|
|
---help---
|
|
|
|
Default address.
|
|
|
|
If SDO pin is pulled to GND, use 0x76
|
|
|
|
|
|
|
|
config BMP280_I2C_ADDR_77
|
|
|
|
bool "0x77"
|
|
|
|
---help---
|
|
|
|
If SDO pin is pulled to VDDIO, use 0x77
|
|
|
|
|
|
|
|
endchoice # I2C Address
|
|
|
|
|
2021-01-18 17:30:29 +01:00
|
|
|
config BMP280_I2C_FREQUENCY
|
|
|
|
int "BMP280 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
|
|
|
|
endif # SENSORS_BMP280
|
|
|
|
|
2023-07-14 14:57:13 +02:00
|
|
|
config SENSORS_BME680
|
|
|
|
bool "Bosch BME680 Temperature, Gas, Humidity and Pressure Sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver for the Bosch BME680 sensor.
|
|
|
|
|
2024-04-29 16:01:56 +02:00
|
|
|
if SENSORS_BME680
|
|
|
|
|
2023-07-14 14:57:13 +02:00
|
|
|
config BME680_I2C_FREQUENCY
|
|
|
|
int "BME680 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
|
|
|
|
config BME680_DISABLE_PRESS_MEAS
|
|
|
|
bool "Disable Pressure Measurement"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If enabled, the sensor will not measure pressure.
|
|
|
|
|
|
|
|
config BME680_DISABLE_HUM_MEAS
|
|
|
|
bool "Disable Humidity Measurement"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If enabled, the sensor will not measure humidity.
|
|
|
|
|
|
|
|
config BME680_DISABLE_GAS_MEAS
|
|
|
|
bool "Disable Gas Measurement"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If enabled, the sensor will not measure gas.
|
|
|
|
|
|
|
|
config BME680_ENABLE_IIR_FILTER
|
|
|
|
bool "Enable IIR Filter"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable IIR filtering for temperature and pressure
|
|
|
|
measurements.
|
|
|
|
|
|
|
|
config SENSORS_BME680_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 3 sec"
|
|
|
|
default 3000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_BME680_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
2024-04-29 16:01:56 +02:00
|
|
|
endif # SENSORS_BME680
|
|
|
|
|
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.
|
|
|
|
|
2021-04-10 14:01:10 +02:00
|
|
|
config SENSORS_DS18B20
|
|
|
|
bool "Maxim Integrated DS18B20 Temperature Sensor support"
|
|
|
|
default n
|
|
|
|
select 1WIRE
|
|
|
|
---help---
|
|
|
|
Enable driver support for the DS18B20 temperature sensor.
|
|
|
|
|
|
|
|
config SENSORS_DS18B20_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
depends on SENSORS_DS18B20
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_DS18B20_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_DS18B20 && SENSORS_DS18B20_POLL
|
|
|
|
default 1000000
|
2021-12-14 08:52:49 +01:00
|
|
|
range 0 4294967295
|
2021-04-10 14:01:10 +02:00
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_DS18B20_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_DS18B20 && SENSORS_DS18B20_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
2020-10-13 12:49:34 +02:00
|
|
|
config SENSORS_FXOS8700CQ
|
|
|
|
bool "NXP FXOS8700CQ Motion Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the NXP FXOS8700CQ Motion 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.
|
|
|
|
|
2024-05-18 17:28:05 +02:00
|
|
|
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
|
|
|
|
|
2021-03-17 22:48:48 +01:00
|
|
|
config SENSORS_HYT271
|
|
|
|
bool "IST HYT271 Humidity and Temperature Sensor support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for the HYT271/HYT221/HYT939 humidity/temperature sensor family.
|
|
|
|
|
|
|
|
config SENSORS_HYT271_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
depends on SENSORS_HYT271
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_HYT271_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_HYT271 && SENSORS_HYT271_POLL
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_HYT271_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_HYT271 && SENSORS_HYT271_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
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
|
2020-11-17 07:02:06 +01:00
|
|
|
select SCHED_HPWORK if SENSORS_L3GD20_BUFFER_SIZE > 0
|
2017-02-19 16:45:47 +01:00
|
|
|
---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
|
|
|
|
2020-11-17 07:02:06 +01:00
|
|
|
config SENSORS_L3GD20_BUFFER_SIZE
|
|
|
|
int "size of buffer"
|
|
|
|
default 1
|
|
|
|
depends on SENSORS_L3GD20
|
|
|
|
---help---
|
|
|
|
The size of the circular buffer used. If the value equal to zero,
|
|
|
|
indicates that the circular buffer is disabled.
|
|
|
|
|
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
|
2022-02-21 09:06:53 +01:00
|
|
|
depends on ALLOW_BSD_COMPONENTS
|
2018-02-13 20:00:29 +01:00
|
|
|
---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
|
2022-02-21 09:06:53 +01:00
|
|
|
depends on ALLOW_BSD_COMPONENTS
|
2018-08-25 16:19:31 +02:00
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LSM303AGR.
|
|
|
|
|
|
|
|
config LSM303AGR_I2C_FREQUENCY
|
|
|
|
int "LSM303AGR I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
2023-08-26 09:29:17 +02:00
|
|
|
depends on SENSORS_LSM303AGR
|
2018-08-25 16:19:31 +02:00
|
|
|
|
|
|
|
config SENSORS_LSM6DSL
|
|
|
|
bool "STMicro LSM6DSL support"
|
|
|
|
default n
|
|
|
|
select I2C
|
2022-02-21 09:06:53 +01:00
|
|
|
depends on ALLOW_BSD_COMPONENTS
|
2018-08-25 16:19:31 +02:00
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LSM6DSL.
|
|
|
|
|
|
|
|
config LSM6DSL_I2C_FREQUENCY
|
|
|
|
int "LSM6DSL I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
2023-08-26 09:29:17 +02:00
|
|
|
depends on SENSORS_LSM6DSL
|
2018-08-25 16:19:31 +02:00
|
|
|
|
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.
|
|
|
|
|
2023-08-26 15:44:52 +02:00
|
|
|
config SENSORS_LSM9DS1_UORB
|
|
|
|
bool "LSM9DS1 UORB Interface"
|
|
|
|
default n
|
|
|
|
depends on SENSORS_LSM9DS1
|
|
|
|
|
|
|
|
if SENSORS_LSM9DS1_UORB
|
|
|
|
|
|
|
|
config SENSORS_LSM9DS1_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_LSM9DS1_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_LSM9DS1_POLL
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_LSM9DS1_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_LSM9DS1_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
|
|
|
endif #SENSORS_LSM9DS1_UORB
|
|
|
|
|
2021-08-26 10:07:36 +02:00
|
|
|
config SENSORS_MSA301
|
|
|
|
bool "MSA301 support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the MSA301.
|
|
|
|
|
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
|
2023-08-26 15:44:52 +02:00
|
|
|
depends on SENSORS_LSM9DS1 || SENSORS_LSM9DS1_UORB
|
2016-02-01 15:57:22 +01:00
|
|
|
|
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
|
2022-07-11 09:40:01 +02:00
|
|
|
bool "INA226/INA230 current and voltage monitor"
|
2018-10-19 17:04:56 +02:00
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
2022-07-11 09:40:01 +02:00
|
|
|
Enable driver support for the Texas Instruments INA226/INA230 power monitor.
|
2018-10-19 17:04:56 +02:00
|
|
|
|
|
|
|
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.
|
2023-12-04 12:49:55 +01:00
|
|
|
|
|
|
|
endif # SENSORS_MLX90614
|
2018-10-28 22:58:14 +01:00
|
|
|
|
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
|
|
|
|
2023-11-28 02:06:04 +01:00
|
|
|
config SENSORS_MS56XX
|
|
|
|
bool "MS56XX Barometric Pressure Sensor support"
|
2022-01-22 17:47:49 +01:00
|
|
|
default n
|
|
|
|
---help---
|
2023-12-04 12:49:55 +01:00
|
|
|
Enable driver support for MS5611 Barometric Pressure Sensor.
|
2022-01-22 17:47:49 +01:00
|
|
|
|
2023-11-28 02:06:04 +01:00
|
|
|
if SENSORS_MS56XX
|
2022-01-22 17:47:49 +01:00
|
|
|
|
|
|
|
choice
|
2023-11-28 02:06:04 +01:00
|
|
|
prompt "MS56XX Interface"
|
|
|
|
default MS56XX_I2C
|
2022-01-22 17:47:49 +01:00
|
|
|
|
2023-11-28 02:06:04 +01:00
|
|
|
config MS56XX_I2C
|
|
|
|
bool "MS56XX I2C Interface"
|
2022-01-22 17:47:49 +01:00
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface
|
|
|
|
|
2023-11-28 02:06:04 +01:00
|
|
|
config MS56XX_SPI
|
|
|
|
bool "MS56XX SPI Interface"
|
2022-01-22 17:47:49 +01:00
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface.
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endchoice # MS5611 Interface
|
2022-01-24 15:45:36 +01:00
|
|
|
|
2023-11-28 06:46:48 +01:00
|
|
|
config MS56XX_SECOND_ORDER_COMPENSATE
|
|
|
|
bool "MS56XX second order compensation support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables second order compensation.
|
|
|
|
In order to obtain best accuracy over temperature range,
|
|
|
|
particularly in low temperature, it is recommended to
|
|
|
|
compensate the non-linearity over the temperature.
|
|
|
|
|
2023-11-28 02:06:04 +01:00
|
|
|
config MS56XX_THREAD_STACKSIZE
|
2022-01-22 17:47:49 +01:00
|
|
|
int "Worker thread stack size"
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread
|
|
|
|
|
2023-11-28 02:06:04 +01:00
|
|
|
config MS56XX_I2C_FREQUENCY
|
|
|
|
int "MS56XX I2C frequency"
|
2022-01-22 17:47:49 +01:00
|
|
|
default 400000
|
|
|
|
range 1 400000
|
2023-11-28 02:06:04 +01:00
|
|
|
depends on MS56XX_I2C
|
2022-01-22 17:47:49 +01:00
|
|
|
|
2023-11-28 02:06:04 +01:00
|
|
|
endif # SENSORS_MS56XX
|
2022-01-22 17:47:49 +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
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endchoice # ADXL345 Interface
|
2014-12-16 15:16:53 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-04-15 13:47:43 +02:00
|
|
|
config SENSORS_ADXL362
|
|
|
|
bool "Analog Devices ADXL362 Driver"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables support for the ADXL362 driver
|
|
|
|
|
|
|
|
if SENSORS_ADXL362
|
|
|
|
|
|
|
|
config SENSORS_ADXL362_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_ADXL362_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_ADXL362_POLL
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_ADXL362_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_ADXL362_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
|
|
|
endif # SENSORS_ADXL362
|
|
|
|
|
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.
|
|
|
|
|
2024-03-09 10:31:40 +01:00
|
|
|
if SENSORS_ADXL372
|
|
|
|
|
|
|
|
config SENSORS_ADXL372_UORB
|
|
|
|
bool "ADXL372 UORB interface"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if SENSORS_ADXL372_UORB
|
|
|
|
|
|
|
|
config SENSORS_ADXL372_POLL
|
|
|
|
bool "Enables polling sensor data"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables polling of sensor.
|
|
|
|
|
|
|
|
config SENSORS_ADXL372_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_ADXL372_POLL
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_ADXL372_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_ADXL372_POLL
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
|
|
|
endif #SENSORS_ADXL372_UORB
|
|
|
|
|
|
|
|
endif # SENSORS_ADXL372
|
|
|
|
|
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)
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endchoice # MPU60x0 Interface
|
2019-03-07 23:50:37 +01:00
|
|
|
|
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.
|
|
|
|
|
2022-06-29 19:53:07 +02:00
|
|
|
config MPU60X0_EXT_SYNC_SET
|
|
|
|
int "MPU60x0 frame sync bit position"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
EXT_SYNC_SET[2..0]
|
|
|
|
EXT_SYNC_SET: frame sync bit position
|
|
|
|
(see datasheet, it's ... complicated)
|
|
|
|
|
|
|
|
config MPU60X0_DLPF_CFG
|
|
|
|
int "MPU60x0 digital low-pass filter bandwidth"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
DLPF_CFG[2..0]
|
|
|
|
DLPF_CFG: digital low-pass filter bandwidth
|
|
|
|
(see datasheet, it's ... complicated)
|
|
|
|
|
|
|
|
config MPU60X0_GYRO_FS_SEL
|
|
|
|
int "MPU60x0 Gyro FS_SEL"
|
|
|
|
default 2
|
|
|
|
---help---
|
2023-01-28 03:17:18 +01:00
|
|
|
Sets the @fs_sel bit in GYRO_CONFIG to the value provided. Per
|
|
|
|
the datasheet, the meaning of @fs_sel is as follows:
|
2022-06-29 19:53:07 +02:00
|
|
|
GYRO_CONFIG(0x1b) : XG_ST YG_ST ZG_ST FS_SEL1 FS_SEL0 x x x
|
|
|
|
XG_ST, YG_ST, ZG_ST : self-test (unsupported in this driver)
|
|
|
|
1 -> activate self-test on X, Y, and/or Z gyros
|
|
|
|
FS_SEL[10] : full-scale range select
|
|
|
|
0 -> ± 250 deg/sec
|
|
|
|
1 -> ± 500 deg/sec
|
|
|
|
2 -> ± 1000 deg/sec
|
|
|
|
3 -> ± 2000 deg/sec
|
|
|
|
|
|
|
|
config MPU60X0_ACCEL_AFS_SEL
|
|
|
|
int "MPU60x0 Accelerometer AFS_SEL"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Sets the @afs_sel bit in ACCEL_CONFIG to the value provided. Per
|
|
|
|
the datasheet, the meaning of @afs_sel is as follows:
|
|
|
|
ACCEL_CONFIG(0x1c) : XA_ST YA_ST ZA_ST AFS_SEL1 AFS_SEL0 x x x
|
|
|
|
XA_ST, YA_ST, ZA_ST : self-test (unsupported in this driver)
|
|
|
|
1 -> activate self-test on X, Y, and/or Z accelerometers
|
|
|
|
AFS_SEL[10] : full-scale range select
|
|
|
|
0 -> ± 2 g
|
|
|
|
1 -> ± 4 g
|
|
|
|
2 -> ± 8 g
|
|
|
|
3 -> ± 16 g
|
|
|
|
|
2019-03-07 23:50:37 +01:00
|
|
|
endif # SENSORS_MPU60X0
|
|
|
|
|
2023-04-07 14:22:42 +02:00
|
|
|
config SENSORS_MPU9250
|
|
|
|
bool "Invensense MPU9250 Sensor support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for Invensense MPU9250 MotionTracker device.
|
|
|
|
|
|
|
|
if SENSORS_MPU9250
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "MPU9250 Interface"
|
|
|
|
default MPU9250_SPI
|
|
|
|
|
|
|
|
config MPU9250_SPI
|
|
|
|
bool "MPU9250 SPI Interface"
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface
|
|
|
|
|
|
|
|
config MPU9250_I2C
|
|
|
|
bool "MPU9250 I2C Interface"
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface
|
|
|
|
|
2023-12-04 12:49:55 +01:00
|
|
|
endchoice # MPU9250 Interface
|
2023-04-07 14:22:42 +02:00
|
|
|
|
|
|
|
config MPU9250_I2C_FREQ
|
|
|
|
int "MPU9250 I2C Frequency"
|
|
|
|
depends on MPU9250_I2C
|
|
|
|
default 400000
|
|
|
|
|
|
|
|
config MPU9250_MEASURE_FREQ
|
|
|
|
int "Default data output rate in Hz"
|
|
|
|
default 1000
|
|
|
|
---help---
|
|
|
|
Default data output rate in Hz
|
|
|
|
|
|
|
|
config MPU9250_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread
|
|
|
|
|
|
|
|
config MPU9250_EXT_SYNC_SET
|
|
|
|
int "MPU9250 frame sync bit position"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
EXT_SYNC_SET[2..0]
|
|
|
|
EXT_SYNC_SET: frame sync bit position
|
|
|
|
|
|
|
|
config MPU9250_DLPF_CFG
|
|
|
|
int "MPU9250 gyroscope and temperature low-pass filter setting"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
DLPF_CFG[2..0]
|
|
|
|
DLPF_CFG: digital low-pass filter bandwidth
|
|
|
|
|
|
|
|
config MPU9250_ACCEL_FCHOICE_B
|
|
|
|
int "Inverted version of accel_fchoice"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
The data output rate of the DLPF filter block can be further
|
|
|
|
reduced by a factor of 1/(1+SMPLRT_DIV).
|
|
|
|
where SMPLRT_DIV is an 8-bit integer
|
|
|
|
|
|
|
|
config MPU9250_A_DLPF_CFG
|
|
|
|
int "MPU9250 Accelerometer low pass filter setting"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
A_DLPF_CFG[2..0]
|
|
|
|
A_DLPF_CFG: Accelerometer digital low-pass filter bandwidth
|
|
|
|
|
|
|
|
config MPU9250_GYRO_FS_SEL
|
|
|
|
int "MPU9250 Gyro FS_SEL"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Sets the @fs_sel bit in GYRO_CONFIG to the value provided. Per
|
|
|
|
the datasheet, the meaning of @fs_sel is as follows:
|
|
|
|
GYRO_CONFIG(0x1b) : XG_ST YG_ST ZG_ST FS_SEL1 FS_SEL0 x x x
|
|
|
|
XG_ST, YG_ST, ZG_ST : self-test (unsupported in this driver)
|
|
|
|
1 -> activate self-test on X, Y, and/or Z gyros
|
|
|
|
FS_SEL[10] : full-scale range select
|
|
|
|
0 -> ± 250 deg/sec
|
|
|
|
1 -> ± 500 deg/sec
|
|
|
|
2 -> ± 1000 deg/sec
|
|
|
|
3 -> ± 2000 deg/sec
|
|
|
|
|
|
|
|
config MPU9250_ACCEL_AFS_SEL
|
|
|
|
int "MPU9250 Accelerometer AFS_SEL"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Sets the @afs_sel bit in ACCEL_CONFIG to the value provided. Per
|
|
|
|
the datasheet, the meaning of @afs_sel is as follows:
|
|
|
|
ACCEL_CONFIG(0x1c) : XA_ST YA_ST ZA_ST AFS_SEL1 AFS_SEL0 x x x
|
|
|
|
XA_ST, YA_ST, ZA_ST : self-test (unsupported in this driver)
|
|
|
|
1 -> activate self-test on X, Y, and/or Z accelerometers
|
|
|
|
AFS_SEL[10] : full-scale range select
|
|
|
|
0 -> ± 2 g
|
|
|
|
1 -> ± 4 g
|
|
|
|
2 -> ± 8 g
|
|
|
|
3 -> ± 16 g
|
|
|
|
|
|
|
|
endif # SENSORS_MPU9250
|
|
|
|
|
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
|
|
|
|
|
2023-10-06 06:10:50 +02:00
|
|
|
config SENSORS_MAX31865
|
|
|
|
bool "Maxim MAX31865 Driver"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the MAX31865 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
|
2023-07-15 19:04:21 +02:00
|
|
|
default LM75
|
2017-08-24 18:10:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2022-04-11 09:30:13 +02:00
|
|
|
config SENSORS_SCD41
|
|
|
|
bool "Sensirion SCD41 CO2, humidity and temperature sensor"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensirion SCD41 CO₂, humidity and
|
|
|
|
temperature sensor.
|
|
|
|
|
|
|
|
if SENSORS_SCD41
|
|
|
|
|
|
|
|
config SCD41_I2C
|
|
|
|
bool "Sensirion SCD41 I2C mode"
|
|
|
|
default y
|
|
|
|
select I2C
|
|
|
|
|
|
|
|
config SCD41_I2C_FREQUENCY
|
|
|
|
int "SCD41 I2C frequency"
|
|
|
|
default 100000
|
|
|
|
range 1 100000
|
|
|
|
depends on SCD41_I2C
|
|
|
|
---help---
|
|
|
|
I2C frequency for SCD41. Note, maximum supported frequency for
|
|
|
|
this sensor is 100kHz.
|
|
|
|
|
|
|
|
config SCD41_DEBUG
|
|
|
|
bool "Debug support for the SCD41"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SCD41
|
|
|
|
|
|
|
|
endif # SENSORS_SCD41
|
|
|
|
|
2019-01-09 14:35:44 +01:00
|
|
|
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
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "ASAIR AHT10 temperature and humidity sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the ASAIR AHT10 temperature and humidity sensors.
|
2019-12-02 15:36:09 +01:00
|
|
|
|
|
|
|
if SENSORS_AHT10
|
|
|
|
config AHT10_I2C_FREQUENCY
|
|
|
|
int "AHT10 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
2023-12-04 12:49:55 +01:00
|
|
|
|
2019-12-02 15:36:09 +01:00
|
|
|
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
|
|
|
|
|
2024-07-11 02:18:02 +02:00
|
|
|
config SENSORS_SHT4X
|
|
|
|
bool "Sensirion SHT4x temperature and humidity sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Sensirion SHT4x temperature
|
|
|
|
and humidity sensors.
|
|
|
|
|
|
|
|
if SENSORS_SHT4X
|
|
|
|
|
|
|
|
config SHT4X_I2C_FREQUENCY
|
|
|
|
int "SHT4X I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
|
|
|
config SHT4X_I2C_ADDR
|
|
|
|
hex "SHT4X I2C address"
|
|
|
|
default 0x44
|
|
|
|
range 0x44 0x46
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SHT4X
|
|
|
|
|
|
|
|
config SHT4X_FAHRENHEIT
|
|
|
|
bool "SHT4X use Fahrenheit"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Configures read outputs of the SHT4X to be in Fahrenheit. Default uses Celsius.
|
|
|
|
|
|
|
|
config SHT4X_LIMIT_HUMIDITY
|
|
|
|
bool "SHT4X limit humidity between 0-100%"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Limits humidity calculations to be between 0-100 percent. Uncropped boundaries may be beneficial in some cases, see datasheet section 4.6.
|
|
|
|
|
|
|
|
config SHT4X_CRC_LOOKUP
|
|
|
|
bool "SHT4X use CRC lookup"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Configures the SHT4X to do CRC checks with a lookup table. Default uses a bitwise CRC calculation.
|
|
|
|
|
|
|
|
config SHT4X_DEBUG
|
|
|
|
bool "SHT4X debug support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables debug features for the SHT4X
|
|
|
|
|
|
|
|
endif # SENSORS_SHT4X
|
|
|
|
|
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
|
|
|
|
2021-08-18 13:55:44 +02:00
|
|
|
config SENSORS_HALL3PHASE
|
|
|
|
bool "3-phase Hall effect sensor"
|
|
|
|
default n
|
|
|
|
|
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
|
2022-02-21 09:06:53 +01:00
|
|
|
depends on ALLOW_BSD_COMPONENTS
|
2019-07-10 15:58:20 +02:00
|
|
|
---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
|
2021-12-14 08:52:49 +01:00
|
|
|
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.
|
2020-05-04 21:16:07 +02:00
|
|
|
|
|
|
|
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
|
2022-10-08 10:31:29 +02:00
|
|
|
|
|
|
|
config SENSORS_LTR308
|
|
|
|
bool "LTR308 Lite-On ambient light sensor"
|
|
|
|
default n
|
2023-05-22 12:20:06 +02:00
|
|
|
select I2C
|
2022-10-08 10:31:29 +02:00
|
|
|
---help---
|
|
|
|
Enable driver support for the LTR308 Lite-on ambient light sensor.
|
|
|
|
|
|
|
|
if SENSORS_LTR308
|
|
|
|
|
|
|
|
config SENSORS_LTR308_I2C_FREQUENCY
|
|
|
|
int "LTR308 I2C frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
|
|
|
|
config SENSORS_LTR308_POLL_INTERVAL
|
|
|
|
int "Polling interval in microseconds, default 1 sec"
|
|
|
|
depends on SENSORS_LTR308
|
|
|
|
default 1000000
|
|
|
|
range 0 4294967295
|
|
|
|
---help---
|
|
|
|
The interval until a new sensor measurement will be triggered.
|
|
|
|
|
|
|
|
config SENSORS_LTR308_THREAD_STACKSIZE
|
|
|
|
int "Worker thread stack size"
|
|
|
|
depends on SENSORS_LTR308
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
The stack size for the worker thread.
|
|
|
|
|
|
|
|
endif # SENSORS_LTR308
|
|
|
|
|
2024-08-02 20:48:35 +02:00
|
|
|
config SENSORS_AMG88XX
|
|
|
|
bool "AMG88xx infrared array sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enable driver support for AMG88xx infrared array sensor.
|
|
|
|
|
|
|
|
if SENSORS_AMG88XX
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "AMG88xx AD_SELECT value"
|
|
|
|
default SENSOR_AMG88XX_AD_SELECT_0
|
|
|
|
---help---
|
|
|
|
AD SELECT sets the amg88xx i2c address
|
|
|
|
AD_SELECT tied to GND -> sensor address 0x68
|
|
|
|
AD_SELECT tied to VCC -> sensor address 0x69
|
|
|
|
|
|
|
|
config SENSOR_AMG88XX_AD_SELECT_0
|
|
|
|
bool "AD_SELECT tied to GND"
|
|
|
|
|
|
|
|
config SENSOR_AMG88XX_AD_SELECT_1
|
|
|
|
bool "AD_SELECT tied to VCC"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SENSOR_AMG88XX_ADDR
|
|
|
|
hex
|
|
|
|
default 0x68 if SENSOR_AMG88XX_AD_SELECT_0
|
|
|
|
default 0x69 if SENSOR_AMG88XX_AD_SELECT_1
|
|
|
|
|
|
|
|
endif # SENSORS_AMG88XX
|
|
|
|
|
2020-02-08 08:30:09 +01:00
|
|
|
endif # SENSORS
|