add ch376 usb and sd card demo on xidatong-riscv64

This commit is contained in:
wgzAIIT
2022-10-12 12:40:33 +08:00
parent 0f1d2a4868
commit b073c38035
3 changed files with 8 additions and 1 deletions
@@ -24,6 +24,11 @@ config CH376_SD_FUNCTION
bool "select ch376 sd function"
endchoice
config CH376_WORK_MODE
hex "ch376 work mode set:0x03 sd,0x06 u-disk"
default 0x03 if CH376_SD_FUNCTION
default 0x06 if CH376_USB_FUNCTION
endif # BSP_USING_CH376
menuconfig BSP_USING_CH438