repair the send peoblem for ch438
This commit is contained in:
@@ -43,6 +43,23 @@ config SENSOR_TB600B_WQ_HCHO1OS
|
||||
endif
|
||||
|
||||
if ADD_RTTHREAD_FETURES
|
||||
config SENSOR_TB600B_WQ_HCHO1OS_DRIVER_EXTUART
|
||||
bool "Using extra uart to support tb600b wq_hcho1os"
|
||||
default y
|
||||
|
||||
config SENSOR_DEVICE_TB600B_WQ_HCHO1OS_DEV
|
||||
string "tb600b wq_hcho1os device uart path"
|
||||
default "/dev/uart2"
|
||||
depends on !SENSOR_TB600B_WQ_HCHO1OS_DRIVER_EXTUART
|
||||
|
||||
if SENSOR_TB600B_WQ_HCHO1OS_DRIVER_EXTUART
|
||||
config SENSOR_DEVICE_TB600B_WQ_HCHO1OS_DEV
|
||||
string "tb600b wq_hcho1os device extra uart path"
|
||||
default "/dev/extuart_dev1"
|
||||
|
||||
config SENSOR_DEVICE_TB600B_WQ_HCHO1OS_DEV_EXT_PORT
|
||||
int "if TB600B_WQ_HCHO1OS device using extuart, choose port"
|
||||
default "1"
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user