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