forked from xuos/xiuos
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
|
|
config SENSOR_TB600B_IAQ10
|
|
bool "Using TB600B IAQ10"
|
|
default n
|
|
|
|
if SENSOR_TB600B_IAQ10
|
|
config SENSOR_DEVICE_TB600B_IAQ10
|
|
string "tb600b iaq10 sensor name"
|
|
default "tb600b_iaq10_1"
|
|
|
|
config SENSOR_QUANTITY_TB600B_IAQ
|
|
string "tb600b iaq10 quantity name"
|
|
default "iaq_1"
|
|
|
|
if ADD_XIUOS_FETURES
|
|
config SENSOR_TB600B_IAQ10_DRIVER_EXTUART
|
|
bool "Using extra uart to support tb600b iaq10"
|
|
default y
|
|
|
|
config SENSOR_DEVICE_TB600B_IAQ10_DEV
|
|
string "tb600b iaq10 device uart path"
|
|
default "/dev/uart2_dev2"
|
|
depends on !SENSOR_TB600B_IAQ10_DRIVER_EXTUART
|
|
|
|
if SENSOR_TB600B_IAQ10_DRIVER_EXTUART
|
|
config SENSOR_DEVICE_TB600B_IAQ10_DEV
|
|
string "tb600b iaq10 device extra uart path"
|
|
default "/dev/extuart_dev5"
|
|
|
|
config SENSOR_DEVICE_TB600B_IAQ10_DEV_EXT_PORT
|
|
int "if TB600B_IAQ10 device using extuart, choose port"
|
|
default "5"
|
|
endif
|
|
endif
|
|
|
|
if ADD_NUTTX_FETURES
|
|
|
|
endif
|
|
|
|
if ADD_RTTHREAD_FETURES
|
|
|
|
endif
|
|
endif
|