aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/RTC/mcuconf.h
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-11 20:07:19 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-11 20:07:19 +0000
commit7f333ab4563c75d4e32f86c01db51a75fe07ed65 (patch)
treea832aa1701dd91170cf0b93c5966ba5f4cad281f /testhal/STM32F1xx/RTC/mcuconf.h
parentbff048984efe45bcdb0a072598d0e9ef6f32a6d5 (diff)
downloadChibiOS-7f333ab4563c75d4e32f86c01db51a75fe07ed65.tar.gz
ChibiOS-7f333ab4563c75d4e32f86c01db51a75fe07ed65.tar.bz2
ChibiOS-7f333ab4563c75d4e32f86c01db51a75fe07ed65.zip
RTC. Fixed some bugs and added locks into write functions. Haltest updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3790 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/RTC/mcuconf.h')
-rw-r--r--testhal/STM32F1xx/RTC/mcuconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32F1xx/RTC/mcuconf.h b/testhal/STM32F1xx/RTC/mcuconf.h
index 1a38f9876..e43e31d12 100644
--- a/testhal/STM32F1xx/RTC/mcuconf.h
+++ b/testhal/STM32F1xx/RTC/mcuconf.h
@@ -38,7 +38,7 @@
#define STM32_HSI_ENABLED TRUE
#define STM32_LSI_ENABLED FALSE
#define STM32_HSE_ENABLED TRUE
-#define STM32_LSE_ENABLED FALSE
+#define STM32_LSE_ENABLED TRUE
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
@@ -50,7 +50,7 @@
#define STM32_USB_CLOCK_REQUIRED TRUE
#define STM32_USBPRE STM32_USBPRE_DIV1P5
#define STM32_MCOSEL STM32_MCOSEL_NOCLOCK
-#define STM32_RTCSEL STM32_RTCSEL_HSEDIV
+#define STM32_RTCSEL STM32_RTCSEL_LSE
#define STM32_PVD_ENABLE FALSE
#define STM32_PLS STM32_PLS_LEV0