aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/l1/stm32l-discovery/button-irq-printf-lowpower/Makefile
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/l1/stm32l-discovery/button-irq-printf-lowpower/Makefile
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/l1/stm32l-discovery/button-irq-printf-lowpower/Makefile')
-rw-r--r--examples/stm32/l1/stm32l-discovery/button-irq-printf-lowpower/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/stm32/l1/stm32l-discovery/button-irq-printf-lowpower/Makefile b/examples/stm32/l1/stm32l-discovery/button-irq-printf-lowpower/Makefile
new file mode 100644
index 0000000..d57ea7a
--- /dev/null
+++ b/examples/stm32/l1/stm32l-discovery/button-irq-printf-lowpower/Makefile
@@ -0,0 +1,24 @@
+##
+## This file is part of the libopencm3 project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## This library is free software: you can redistribute it and/or modify
+## it under the terms of the GNU Lesser General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+##
+## This library is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU Lesser General Public License for more details.
+##
+## You should have received a copy of the GNU Lesser General Public License
+## along with this library. If not, see <http://www.gnu.org/licenses/>.
+##
+
+BINARY = main
+LDSCRIPT = ../../../../../lib/stm32/l1/stm32l15xxb.ld
+
+include ../../Makefile.include
+