Wake-up timer library to wake from deepsleep/power-down

Dependencies:   LPC1114_WakeInterruptIn

Fork of WakeUp by Erik -

Revision:
15:b2a710aca356
Parent:
9:29bdf5fed21a
Child:
17:49d9e3a3e904
diff -r 6bf547e1e62d -r b2a710aca356 Device/WakeUp_STM_RTC.cpp
--- a/Device/WakeUp_STM_RTC.cpp	Wed Jul 30 20:39:57 2014 +0000
+++ b/Device/WakeUp_STM_RTC.cpp	Fri Aug 29 05:59:30 2014 +0000
@@ -9,7 +9,7 @@
 //Most things are pretty similar between the different STM targets.
 //Only the IRQ number the alarm is connected to differs. Any errors
 //with RTC_IRQn/RTC_Alarm_IRQn in them are related to this
-#if defined(TARGET_M4)
+#if defined(TARGET_M4) || defined(TARGET_M3)
 #define RTC_IRQ     RTC_Alarm_IRQn               
 #else
 #define RTC_IRQ     RTC_IRQn