NuMaker tickless example

Revision:
18:e236110ce841
Parent:
17:0f81445cbbf0
Child:
20:759aab916d47
--- a/wakeup_rtc.cpp	Fri Feb 21 17:22:00 2020 +0800
+++ b/wakeup_rtc.cpp	Fri Feb 21 17:52:25 2020 +0800
@@ -56,7 +56,7 @@
 
         wakeup_eventflags.set(EventFlag_Wakeup_RTC_Alarm);
     }
-#elif defined(TARGET_M451) || defined(TARGET_M480)
+#elif defined(TARGET_M451) || defined(TARGET_M480) || defined(TARGET_M251)
     if (RTC_GET_ALARM_INT_FLAG()) {
         /* Clear RTC alarm interrupt flag */
         RTC_CLEAR_ALARM_INT_FLAG();