Add PM support for the STM32F4Discovery -- still a work in progress

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4976 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-07-25 13:35:36 +00:00
parent d7280d4382
commit ca8620083e
21 changed files with 2666 additions and 258 deletions
+3 -3
View File
@@ -626,8 +626,8 @@ int up_rtcinitialize(void)
/* Then attach the ALARM interrupt handler */
irq_attach(STM32_IRQ_RTC, rtc_interrupt);
up_enable_irq(STM32_IRQ_RTC);
irq_attach(STM32_IRQ_RTC_WKUP, rtc_interrupt);
up_enable_irq(STM32_IRQ_RTC_WKUP);
#endif
g_rtc_enabled = true;
@@ -813,7 +813,7 @@ int up_rtc_settime(FAR const struct timespec *tp)
************************************************************************************/
#ifdef CONFIG_RTC_ALARM
int up_rtc_setalarm(FAR const struct timespec *tp, alarmcb_t callback);
int up_rtc_setalarm(FAR const struct timespec *tp, alarmcb_t callback)
{
irqstate_t flags;
int ret = -EBUSY;