summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-10 22:26:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-10 22:26:37 +0000
commitff113b400adf80f5bf6f07233a2355e48b00676d (patch)
tree9cea7c1a75c608ca5d0630a40f6b75742dd31260 /nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c
parentc0e51eccc5bc5ce6743572f97cfc9d13fc13ceab (diff)
downloadpx4-nuttx-ff113b400adf80f5bf6f07233a2355e48b00676d.tar.gz
px4-nuttx-ff113b400adf80f5bf6f07233a2355e48b00676d.tar.bz2
px4-nuttx-ff113b400adf80f5bf6f07233a2355e48b00676d.zip
The M3 Wildfire port is code complete and ready for test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5125 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c b/nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c
index df8ad9dd5..e1d52ac09 100644
--- a/nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c
+++ b/nuttx/arch/arm/src/stm32/stm32f10xxx_rtc.c
@@ -113,6 +113,10 @@
# error "CONFIG_STM32_BKP is required for CONFIG_RTC"
#endif
+#ifndef CONFIG_STM32_PWR
+# error "CONFIG_STM32_PWR is required for CONFIG_RTC"
+#endif
+
/* RTC/BKP Definitions *************************************************************/
/* STM32_RTC_PRESCALAR_VALUE
* RTC pre-scalar value. The RTC is driven by a 32,768Hz input clock. This input