aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/stm32vl-discovery/rtc/rtc.c
diff options
context:
space:
mode:
authorKarl Palsson2013-01-23 00:01:46 +0000
committerKarl Palsson2013-01-23 00:01:46 +0000
commitd9fb4f7401b8bf546cc7e6ddeb9f22d343f0622d (patch)
treeb0932bb63bbfcc74e95e48c1ecf228eaddc0039e /examples/stm32/f1/stm32vl-discovery/rtc/rtc.c
parente5b32503825c53d278d09a34d7165020e1b5cad4 (diff)
Add examples making use of the RTC
Add an example using the RTC to help with a lower power design. This is a sister example to the existing "button-irq-printf", which is functionally identical, but uses far less power. There's more tricks that can be done to lower the power even further, but this shows a few of the early steps that can be done, using the RTC wakeup instead of a timer.
Diffstat (limited to 'examples/stm32/f1/stm32vl-discovery/rtc/rtc.c')
-rw-r--r--examples/stm32/f1/stm32vl-discovery/rtc/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/f1/stm32vl-discovery/rtc/rtc.c b/examples/stm32/f1/stm32vl-discovery/rtc/rtc.c
index b3c698b..be40dfd 100644
--- a/examples/stm32/f1/stm32vl-discovery/rtc/rtc.c
+++ b/examples/stm32/f1/stm32vl-discovery/rtc/rtc.c
@@ -20,7 +20,7 @@
#include <libopencm3/stm32/f1/rcc.h>
#include <libopencm3/stm32/f1/gpio.h>
-#include <libopencm3/stm32/f1/rtc.h>
+#include <libopencm3/stm32/rtc.h>
#include <libopencm3/stm32/usart.h>
#include <libopencm3/stm32/pwr.h>
#include <libopencm3/cm3/nvic.h>