aboutsummaryrefslogtreecommitdiff
path: root/libmaple/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
commitd7b930d055f7f54cc0698bdac6f8bb9b0bddfda9 (patch)
tree5cf0b72cdc15d1619f8653bbcb14b936f1977a7b /libmaple/rules.mk
parent6e2a65e7df0d529a925d4b5a264781734a14a6ab (diff)
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/rules.mk')
-rw-r--r--libmaple/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/rules.mk b/libmaple/rules.mk
index d118b16..2f5e066 100644
--- a/libmaple/rules.mk
+++ b/libmaple/rules.mk
@@ -20,6 +20,7 @@ cSRCS_$(d) += pwr.c
cSRCS_$(d) += rcc.c
cSRCS_$(d) += syscalls.c
cSRCS_$(d) += systick.c
+cSRCS_$(d) += timer.c
cSRCS_$(d) += usart.c
cSRCS_$(d) += usart_private.c
cSRCS_$(d) += util.c
@@ -29,7 +30,6 @@ cSRCS_$(d) += util.c
# cSRCS_$(d) += exti.c
# cSRCS_$(d) += i2c.c
# cSRCS_$(d) += spi.c
-# cSRCS_$(d) += timer.c
sSRCS_$(d) := exc.S