提交 f1bc40d6 编写于 作者: G Grissiom

ls1bdev: add uart3 support

上级 a8fadf15
......@@ -256,6 +256,9 @@ void rt_hw_uart_init(void)
#elif defined(RT_USING_UART1)
uart->hw_base = UART1_BASE;
uart->irq = LS1B_UART1_IRQ;
#elif defined(RT_USING_UART3)
uart->hw_base = UART3_BASE;
uart->irq = LS1B_UART3_IRQ;
#endif
/* device interface */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册