aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/RTC
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-20 07:02:14 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-20 07:02:14 +0000
commitda3d1eae7b4035fb916e14ba853a5cf2aa0f70cd (patch)
tree3f4c43f9890533fe1e49188a17436cae24887e16 /testhal/STM32F1xx/RTC
parentbe4e2ca38d85319cfa5e0b3ea8849ee327e8c7a6 (diff)
downloadChibiOS-da3d1eae7b4035fb916e14ba853a5cf2aa0f70cd.tar.gz
ChibiOS-da3d1eae7b4035fb916e14ba853a5cf2aa0f70cd.tar.bz2
ChibiOS-da3d1eae7b4035fb916e14ba853a5cf2aa0f70cd.zip
RTC. Code reorganization to correspond ChibiOS rules.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3356 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/RTC')
-rw-r--r--testhal/STM32F1xx/RTC/halconf.h7
-rw-r--r--testhal/STM32F1xx/RTC/mcuconf.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/testhal/STM32F1xx/RTC/halconf.h b/testhal/STM32F1xx/RTC/halconf.h
index 93367c2d2..4dcef13da 100644
--- a/testhal/STM32F1xx/RTC/halconf.h
+++ b/testhal/STM32F1xx/RTC/halconf.h
@@ -219,13 +219,6 @@
#define RTC_SUPPORTS_CALLBACKS TRUE
#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. */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/RTC/mcuconf.h b/testhal/STM32F1xx/RTC/mcuconf.h
index beefe5cba..2c5d4d8be 100644
--- a/testhal/STM32F1xx/RTC/mcuconf.h
+++ b/testhal/STM32F1xx/RTC/mcuconf.h
@@ -43,6 +43,7 @@
#define STM32_PPRE2 STM32_PPRE2_DIV2
#define STM32_ADCPRE STM32_ADCPRE_DIV4
#define STM32_MCO STM32_MCO_NOCLOCK
+#define STM32_RTC STM32_RTC_LSE
/*
* ADC driver system settings.