Register ch438 to character driver

This commit is contained in:
wgzAIIT
2022-05-05 18:22:42 +08:00
parent d18eda5f26
commit e007b5567d
11 changed files with 177 additions and 20 deletions
@@ -83,5 +83,43 @@ config XIDATONG_USB_AUTOMOUNT_UDELAY
endif # XIDATONG_USB_AUTOMOUNT
menuconfig BSP_USING_CH438
bool "Using CH438 device"
default n
endif
if BSP_USING_CH438
config CH438_EXTUART0
bool "using ch438 port 0"
default n
config CH438_EXTUART1
bool "using ch438 port 1"
default n
config CH438_EXTUART2
bool "using ch438 port 2"
default n
config CH438_EXTUART3
bool "using ch438 port 3"
default n
config CH438_EXTUART4
bool "using ch438 port 4"
default n
config CH438_EXTUART5
bool "using ch438 port 5"
default n
config CH438_EXTUART6
bool "using ch438 port 6"
default n
config CH438_EXTUART7
bool "using ch438 port 7"
default n
endif # BSP_USING_CH438
endif # ARCH_BOARD_XIDATONG