support Ch376 for xidatong-riscv64 in XiZi Kernel

This commit is contained in:
zhaoyun1215
2022-09-27 22:47:17 -07:00
parent c5872c051e
commit cd850b90cd
9 changed files with 350 additions and 20 deletions
@@ -71,8 +71,8 @@ static struct io_config
IOCONFIG(BSP_UART2_RXD_PIN, FUNC_UART2_RX),
#endif
#ifdef BSP_USING_UART3
IOCONFIG(BSP_UART3_TXD_PIN, FUNC_UART3_TX),
IOCONFIG(BSP_UART3_RXD_PIN, FUNC_UART3_RX),
IOCONFIG(BSP_UART3_TXD_PIN, FUNC_UART3_RX),
IOCONFIG(BSP_UART3_RXD_PIN, FUNC_UART3_TX),
#endif
#ifdef BSP_USING_I2C1
IOCONFIG(BSP_I2C_SDA, FUNC_GPIO3),