Added Restart(by RESET) function from Standby mode only for some Nucleo boards (STM32 series)
Dependencies: LPC1114_WakeInterruptIn
Fork of WakeUp by
Example program using "Standby function" for Nucleo series is here.
/users/kenjiArai/code/Check_StandBy/
Revision 15:b2a710aca356, committed 2014-08-29
- 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