aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/rules.mk
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-04-10 16:05:42 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:57 -0400
commit301fe2c02ef0ca779d11dcedc2a081436360fbe3 (patch)
tree4da6bc1d69906ed20720cc21adc57d20c945b266 /libmaple/rules.mk
parentc114022b2599fc7024c771d13b24a2119bee2208 (diff)
downloadlibrambutan-301fe2c02ef0ca779d11dcedc2a081436360fbe3.tar.gz
librambutan-301fe2c02ef0ca779d11dcedc2a081436360fbe3.zip
libmaple/spi: Fixups, move nonportable bits into libmaple/stm32f1.
Standard family support refactoring: add STM32F1 series spi.h, spi.c, and move anything that won't port to STM32F2 there. As part of a general effort to be cleaner, remove the dependency on libmaple/util.h from libmaple/spi.h by not using BIT(). Also forward declare struct gpio_dev for spi_gpio_cfg() to remove that include. 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 2f5e066..93716d2 100644
--- a/libmaple/rules.mk
+++ b/libmaple/rules.mk
@@ -18,6 +18,7 @@ cSRCS_$(d) += iwdg.c
cSRCS_$(d) += nvic.c
cSRCS_$(d) += pwr.c
cSRCS_$(d) += rcc.c
+cSRCS_$(d) += spi.c
cSRCS_$(d) += syscalls.c
cSRCS_$(d) += systick.c
cSRCS_$(d) += timer.c
@@ -29,7 +30,6 @@ cSRCS_$(d) += util.c
# cSRCS_$(d) += dma.c
# cSRCS_$(d) += exti.c
# cSRCS_$(d) += i2c.c
-# cSRCS_$(d) += spi.c
sSRCS_$(d) := exc.S