[serial] 增加serial_v2版本的框架和基于stm32的串口驱动

This commit is contained in:
chenjh
2021-06-05 17:21:27 +08:00
parent 5c8625c8ef
commit d94be14df5
13 changed files with 2971 additions and 42 deletions

View File

@@ -57,7 +57,11 @@ extern "C" {
#endif /* RT_USING_USB_HOST */
#ifdef RT_USING_SERIAL
#ifdef RT_USING_SERIAL_V2
#include "drivers/serial_v2.h"
#else
#include "drivers/serial.h"
#endif
#endif /* RT_USING_SERIAL */
#ifdef RT_USING_I2C