Browse Source

[annotation] renesas默认使用串口V2标准 (#6391)

Yifang 2 years ago
parent
commit
464f827254
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bsp/renesas/libraries/HAL_Drivers/drv_common.c

+ 2 - 2
bsp/renesas/libraries/HAL_Drivers/drv_common.c

@@ -20,7 +20,7 @@
     #ifdef RT_USING_SERIAL_V2
         #include <drv_usart_v2.h>
     #else
-        #include <drv_usart.h>
+	#error "Serial-v1 has been obsoleted, and please select serial-v2 as the default option"
     #endif
 #endif
 
@@ -182,4 +182,4 @@ BSP_CMSE_NONSECURE_ENTRY void template_nonsecure_callable ()
 {
 
 }
-#endif
+#endif