repair ch438 driver
This commit is contained in:
@@ -43,6 +43,23 @@ config SENSOR_D124
|
||||
endif
|
||||
|
||||
if ADD_RTTHREAD_FETURES
|
||||
config SENSOR_D124_DRIVER_EXTUART
|
||||
bool "Using extra uart to support D124"
|
||||
default y
|
||||
|
||||
config SENSOR_DEVICE_D124_DEV
|
||||
string "D124 device name"
|
||||
default "/dev/uart2_dev2"
|
||||
depends on !SENSOR_D124_DRIVER_EXTUART
|
||||
|
||||
if SENSOR_D124_DRIVER_EXTUART
|
||||
config SENSOR_DEVICE_D124_DEV
|
||||
string "D124 device extra uart path"
|
||||
default "/dev/extuart_dev4"
|
||||
|
||||
config SENSOR_DEVICE_D124_DEV_EXT_PORT
|
||||
int "if D124 device using extuart, choose port"
|
||||
default "4"
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user