Fork of original library to fix mbed 5 deprecation warnings

Dependencies:   LPC1114_WakeInterruptIn

Dependents:   low-power-sleep

Fork of WakeUp by Erik -

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Fri Aug 29 05:59:30 2014 +0000
Parent:
14:6bf547e1e62d
Child:
16:f3adba7cf7c4
Commit message:
Improved STM support (now properly support L152 (hopefully) by fixing which RTC IRQ vector it should use).

Changed in this revision

Device/WakeUp_STM_RTC.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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