diff options
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32F1xx/RTC/halconf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testhal/STM32F1xx/RTC/halconf.h b/testhal/STM32F1xx/RTC/halconf.h index 219bfd99e..553decda8 100644 --- a/testhal/STM32F1xx/RTC/halconf.h +++ b/testhal/STM32F1xx/RTC/halconf.h @@ -212,6 +212,13 @@ #define RTC_SUPPORTS_CALLBACKS FALSE
#endif
+/**
+ * @brief Clock source selecting. LSE by default.
+ */
+#if !defined(RTC_CLOCK_SOURCE) || defined(__DOXYGEN__)
+#define RTC_CLOCK_SOURCE RCC_BDCR_RTCSEL_LSE
+#endif
+
/*===========================================================================*/
/* MAC driver related settings. */
/*===========================================================================*/
|