From f70b765a8e2870d254fb1de32bc7f401b89d56ff Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 8 Oct 2015 12:54:41 +0000 Subject: [PATCH] Fixed STM32L0 RTC alarms number. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8346 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32L0xx/stm32_registry.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h index 96bae0ef5..05b61b39c 100644 --- a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h @@ -141,8 +141,8 @@ /* RTC attributes.*/ #define STM32_HAS_RTC TRUE #define STM32_RTC_HAS_SUBSECONDS TRUE -#define STM32_RTC_HAS_PERIODIC_WAKEUPS FALSE -#define STM32_RTC_NUM_ALARMS 1 +#define STM32_RTC_HAS_PERIODIC_WAKEUPS TRUE +#define STM32_RTC_NUM_ALARMS 2 #define STM32_RTC_HAS_INTERRUPTS FALSE /* SDIO attributes.*/ @@ -368,8 +368,8 @@ /* RTC attributes.*/ #define STM32_HAS_RTC TRUE #define STM32_RTC_HAS_SUBSECONDS TRUE -#define STM32_RTC_HAS_PERIODIC_WAKEUPS FALSE -#define STM32_RTC_NUM_ALARMS 1 +#define STM32_RTC_HAS_PERIODIC_WAKEUPS TRUE +#define STM32_RTC_NUM_ALARMS 2 #define STM32_RTC_HAS_INTERRUPTS FALSE /* SDIO attributes.*/ @@ -603,8 +603,8 @@ /* RTC attributes.*/ #define STM32_HAS_RTC TRUE #define STM32_RTC_HAS_SUBSECONDS TRUE -#define STM32_RTC_HAS_PERIODIC_WAKEUPS FALSE -#define STM32_RTC_NUM_ALARMS 1 +#define STM32_RTC_HAS_PERIODIC_WAKEUPS TRUE +#define STM32_RTC_NUM_ALARMS 2 #define STM32_RTC_HAS_INTERRUPTS FALSE /* SDIO attributes.*/