aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx/hal_lld_f100.h
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 /os/hal/platforms/STM32F1xx/hal_lld_f100.h
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 'os/hal/platforms/STM32F1xx/hal_lld_f100.h')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld_f100.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld_f100.h b/os/hal/platforms/STM32F1xx/hal_lld_f100.h
index aad199528..60e42ece4 100644
--- a/os/hal/platforms/STM32F1xx/hal_lld_f100.h
+++ b/os/hal/platforms/STM32F1xx/hal_lld_f100.h
@@ -228,6 +228,13 @@
#define STM32_MCO STM32_MCO_NOCLOCK
#endif
+/**
+ * @brief Clock source selecting. LSI by default.
+ */
+#if !defined(STM32_RTC) || defined(__DOXYGEN__)
+#define STM32_RTC STM32_RTC_LSI
+#endif
+
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/