aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1/rules.mk
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-04-05 17:10:33 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:56 -0400
commit9cefeca5c1927c34d64e592bb4ad7ffe7c44822c (patch)
tree5cf0b72cdc15d1619f8653bbcb14b936f1977a7b /libmaple/stm32f1/rules.mk
parentfb061ae2e50a81904797146c3b5de8156dfd3f91 (diff)
downloadlibrambutan-9cefeca5c1927c34d64e592bb4ad7ffe7c44822c.tar.gz
librambutan-9cefeca5c1927c34d64e592bb4ad7ffe7c44822c.zip
timer: Fixes, rip out nonportable bits.
Fix copy-paste errors in, and add missing, register bit definitions. For copy-paste errors that would result in source incompatibilities with past releases, add some legacy defines. Add series header and C file for STM32F1 which fills in the missing API. Much of the F1 timer.c would be repeated on F2, so also add timer_private.h to hold these. Support for timers 9 through 14 is still missing. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/stm32f1/rules.mk')
-rw-r--r--libmaple/stm32f1/rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/stm32f1/rules.mk b/libmaple/stm32f1/rules.mk
index c0d6344..03fddb3 100644
--- a/libmaple/stm32f1/rules.mk
+++ b/libmaple/stm32f1/rules.mk
@@ -16,6 +16,7 @@ cSRCS_$(d) += bkp.c
cSRCS_$(d) += fsmc.c
cSRCS_$(d) += gpio.c
cSRCS_$(d) += rcc.c
+cSRCS_$(d) += timer.c
cSRCS_$(d) += usart.c
sFILES_$(d) := $(sSRCS_$(d):%=$(d)/%)