APP_Framework support nuttx-10.2.0

This commit is contained in:
wgz-code
2022-03-01 17:57:08 +08:00
parent b916ebb768
commit 4d6caa6182
18 changed files with 4832 additions and 101 deletions
@@ -171,6 +171,35 @@ config SENSORS_DHTXX
---help---
Enable driver support for the DHTxx humidity/temperature sensor.
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
range 0 4294967295
---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.
config SENSORS_FXOS8700CQ
bool "NXP FXOS8700CQ Motion Sensor support"
default n
@@ -400,6 +429,13 @@ config SENSORS_LSM9DS1
---help---
Enable driver support for the STMicro LSM9DS1.
config SENSORS_MSA301
bool "MSA301 support"
default n
select I2C
---help---
Enable driver support for the MSA301.
config LSM9DS1_I2C_FREQUENCY
int "LSM9DS1 I2C frequency"
default 400000
@@ -898,6 +934,10 @@ config SENSORS_QENCODER
bool "Qencoder"
default n
config SENSORS_HALL3PHASE
bool "3-phase Hall effect sensor"
default n
config SENSORS_VEML6070
bool "Vishay VEML6070 UV-A Light Sensor support"
default n
@@ -972,6 +1012,7 @@ config HDC1008_DEBUG
endif # SENSORS_HDC1008
config HS300X_I2C
bool
default y if HS300X
@@ -96,6 +96,10 @@ ifeq ($(CONFIG_SENSORS_LSM9DS1),y)
CSRCS += lsm9ds1.c
endif
ifeq ($(CONFIG_SENSORS_MSA301),y)
CSRCS += msa301.c
endif
ifeq ($(CONFIG_SENSORS_LPS25H),y)
CSRCS += lps25h.c
endif
@@ -260,6 +264,16 @@ endif
endif # CONFIG_SPI
# These drivers depend on 1WIRE support
ifeq ($(CONFIG_1WIRE),y)
ifeq ($(CONFIG_SENSORS_DS18B20),y)
CSRCS += ds18b20.c
endif
endif # CONFIG_1WIRE
ifeq ($(CONFIG_SENSORS_MPU60X0),y)
CSRCS += mpu60x0.c
endif
@@ -270,6 +284,12 @@ ifeq ($(CONFIG_SENSORS_QENCODER),y)
CSRCS += qencoder.c
endif
# 3-phase Hall effect sensor upper half
ifeq ($(CONFIG_SENSORS_HALL3PHASE),y)
CSRCS += hall3ph.c
endif
# Vishay VEML6070
ifeq ($(CONFIG_SENSORS_VEML6070),y)