aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1/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/stm32f1/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/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 03fddb3..52ceea6 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) += spi.c
cSRCS_$(d) += timer.c
cSRCS_$(d) += usart.c