2019-08-21 21:39:29 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig SCU_SENSORS
|
|
|
|
bool "SCU Sensor Drivers"
|
|
|
|
|
|
|
|
if SCU_SENSORS
|
|
|
|
|
|
|
|
config SENSORS_AK09912_SCU
|
|
|
|
bool "Asahi AK09911/AK09912 Compass Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on !SENSORS_AK09912 && (CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ)
|
2019-08-21 21:39:29 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for AK09911/AK09912 Compass sensor.
|
|
|
|
NOTE: This sensor is connected to the SCU unit
|
|
|
|
|
2020-07-27 13:09:21 +08:00
|
|
|
if SENSORS_AK09912_SCU
|
|
|
|
|
|
|
|
config SENSORS_AK09912_SCU_DECI
|
|
|
|
bool "AK09912 Magnetometer to decimator"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2019-08-22 20:49:05 +08:00
|
|
|
config SENSORS_APDS9930_SCU
|
|
|
|
bool "Avago APDS9930 Proximity and Ambient light Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for APDS9930 proximity and ambient light sensor.
|
|
|
|
|
|
|
|
if SENSORS_APDS9930_SCU
|
|
|
|
|
|
|
|
config SENSORS_APDS9930_PROXIMITY_INTERRUPT
|
|
|
|
bool "Use Proximity interrupt"
|
2020-07-27 13:09:21 +08:00
|
|
|
default n
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Use Interrupt when the threshold is exceeded.
|
|
|
|
In this case, SCU sequencer is not used.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config SENSORS_BH1721FVC_SCU
|
|
|
|
bool "Rohm BH1721FVC Ambient Light Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for the Rohm BH1721FVC light sensor.
|
|
|
|
|
|
|
|
config SENSORS_BH1745NUC_SCU
|
|
|
|
bool "Rohm BH1745NUC Color Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for BH1745NUC color sensor.
|
|
|
|
|
|
|
|
config SENSORS_BM1383GLV_SCU
|
|
|
|
bool "Rohm BM1383GLV/BM1383AGLV Pressure Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for BM1383GLV/BM1383AGLV pressure sensor.
|
|
|
|
|
|
|
|
config SENSORS_BM1422GMV_SCU
|
|
|
|
bool "Rohm BM1422GMV/BM1422AGMV Magnetic Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for BM1422GMV/BM1422AGMV magnetic sensor.
|
|
|
|
|
|
|
|
if SENSORS_BM1422GMV_SCU
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Slave Address"
|
|
|
|
default BM1422GMV_SLAVE_ADDRESS_0F
|
|
|
|
|
|
|
|
config BM1422GMV_SLAVE_ADDRESS_0E
|
|
|
|
bool "0x0E"
|
|
|
|
|
|
|
|
config BM1422GMV_SLAVE_ADDRESS_0F
|
|
|
|
bool "0x0F"
|
|
|
|
|
|
|
|
endchoice
|
2020-07-27 13:09:21 +08:00
|
|
|
|
|
|
|
config SENSORS_BM1422GMV_SCU_DECI
|
|
|
|
bool "BM1422GMV Magnetometer to decimator"
|
|
|
|
default n
|
|
|
|
|
2019-08-22 20:49:05 +08:00
|
|
|
endif # SENSORS_BM1422GMV_SCU
|
|
|
|
|
|
|
|
config SENSORS_BMI160_SCU
|
|
|
|
bool "Bosch BMI160 Sensor support"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on !SENSORS_BMI160 && (CXD56_SPI3_SCUSEQ || CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ)
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver support for the Bosch BMI160 sensor.
|
|
|
|
|
|
|
|
if SENSORS_BMI160_SCU
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "BMI160 Interface"
|
|
|
|
default SENSORS_BMI160_SCU_SPI
|
|
|
|
|
|
|
|
config SENSORS_BMI160_SCU_SPI
|
|
|
|
bool "BMI160 SPI Interface"
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_SPI3_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface.
|
|
|
|
|
|
|
|
config SENSORS_BMI160_SCU_I2C
|
|
|
|
bool "BMI160 I2C Interface"
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface
|
|
|
|
|
|
|
|
endchoice
|
2020-07-27 13:09:21 +08:00
|
|
|
|
|
|
|
config SENSORS_BMI160_SCU_DECI_GYRO
|
|
|
|
bool "BMI160 Gyroscope to decimator"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SENSORS_BMI160_SCU_DECI_ACCEL
|
|
|
|
bool "BMI160 Accelerometer to decimator"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif # SENSORS_BMI160_SCU
|
2019-08-22 20:49:05 +08:00
|
|
|
|
|
|
|
config SENSORS_BMP280_SCU
|
|
|
|
bool "Bosch BMP280 Barometic Pressure Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on !SENSORS_BMP280 && (CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ)
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for the Bosch BMP280 barometic pressure sensor.
|
|
|
|
|
2020-07-27 13:09:21 +08:00
|
|
|
if SENSORS_BMP280_SCU
|
|
|
|
|
|
|
|
config SENSORS_BMP280_SCU_DECI_PRESS
|
|
|
|
bool "BMP280 Pressure to decimator"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SENSORS_BMP280_SCU_DECI_TEMP
|
|
|
|
bool "BMI280 Temperature to decimator"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2019-08-22 20:49:05 +08:00
|
|
|
config SENSORS_KX022_SCU
|
|
|
|
bool "Kionix KX022/KX122 Acceleration Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for the Kionix KX022/KX122 acceleration sensor.
|
|
|
|
|
|
|
|
if SENSORS_KX022_SCU
|
|
|
|
|
|
|
|
config SENSORS_KX122
|
|
|
|
bool "KX122 register compatibility"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Use KX122 which has the register upper compatibility with KX022.
|
|
|
|
|
2020-07-27 13:09:21 +08:00
|
|
|
config SENSORS_KX022_SCU_DECI
|
|
|
|
bool "KX022 Accelerometer to decimator"
|
|
|
|
default n
|
|
|
|
|
2019-08-22 20:49:05 +08:00
|
|
|
endif # SENSORS_KX022
|
|
|
|
|
|
|
|
config SENSORS_LT1PA01_SCU
|
|
|
|
bool "Murata LT1PA01 Proximity and Ambient light Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for LT1PA01 proximity and ambient light sensor.
|
|
|
|
|
|
|
|
if SENSORS_LT1PA01_SCU
|
|
|
|
|
|
|
|
config LT1PA01_PROXIMITY_INTERRUPT
|
|
|
|
bool "Use Proximity interrupt"
|
2020-07-27 13:09:21 +08:00
|
|
|
default n
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Use Interrupt when the threshold is exceeded.
|
|
|
|
In this case, SCU sequencer is not used.
|
|
|
|
|
|
|
|
endif # SENSORS_LT1PA01_SCU
|
|
|
|
|
|
|
|
config SENSORS_RPR0521RS_SCU
|
|
|
|
bool "Rohm RPR0521RS Proximity and Ambient light Sensor"
|
|
|
|
default n
|
2020-07-27 13:09:21 +08:00
|
|
|
depends on CXD56_I2C0_SCUSEQ || CXD56_I2C1_SCUSEQ
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Enable driver for RPR0521RS proximity and ambient light sensor.
|
|
|
|
|
|
|
|
if SENSORS_RPR0521RS_SCU
|
|
|
|
|
|
|
|
config RPR0521RS_PROXIMITY_INTERRUPT
|
|
|
|
bool "Use Proximity interrupt"
|
2020-07-27 13:09:21 +08:00
|
|
|
default n
|
2019-08-22 20:49:05 +08:00
|
|
|
---help---
|
|
|
|
Use Interrupt when the threshold is exceeded.
|
|
|
|
In this case, SCU sequencer is not used.
|
|
|
|
|
|
|
|
endif # SENSORS_RPR0521RS_SCU
|
2019-08-21 21:39:29 +08:00
|
|
|
endif # SCU_SENSORS
|