aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/rules.mk
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 21:41:50 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 21:46:25 -0400
commita52fe9205cbb8f8a2e458e300c2048d889b26b54 (patch)
treeefe388dcf7ddc8d4f063502e291b16b312ca6c10 /libmaple/rules.mk
parent2c66df2876479bc2f2a1b4b4b787957ec4973657 (diff)
downloadlibrambutan-a52fe9205cbb8f8a2e458e300c2048d889b26b54.tar.gz
librambutan-a52fe9205cbb8f8a2e458e300c2048d889b26b54.zip
Bring back <libmaple/spi.h>.
Add a spi_private.h with a SPI_DEV(), for convenience. Use it in the F1 and F2 implementations. We could probably unify these with an STM32_HAVE_SPI(n) macro, but we'll leave that for the future. Most everything from F1 is portable; F2 has some additional bit definitions and a spi_get_af() routine, but that's about it. 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 649e4c8..be93d2e 100644
--- a/libmaple/rules.mk
+++ b/libmaple/rules.mk
@@ -21,7 +21,7 @@ cSRCS_$(d) += iwdg.c
cSRCS_$(d) += nvic.c
cSRCS_$(d) += pwr.c
cSRCS_$(d) += rcc.c
-# cSRCS_$(d) += spi.c
+cSRCS_$(d) += spi.c
cSRCS_$(d) += systick.c
cSRCS_$(d) += timer.c
cSRCS_$(d) += usart.c