aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1/rules.mk
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-04-26 17:33:56 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-05-03 14:09:05 -0400
commit1f67ed8f23048c45b0a3deec232b19047966bce7 (patch)
treeda3aec665bda333922c249f5094942ee3da7eb46 /libmaple/stm32f1/rules.mk
parenta81a02257d69454412d4ef062b56a3cc5c758815 (diff)
downloadlibrambutan-1f67ed8f23048c45b0a3deec232b19047966bce7.tar.gz
librambutan-1f67ed8f23048c45b0a3deec232b19047966bce7.zip
stm32f1: Resurrect DMA support. (sets up breaking change)
Breaking change set up: struct dma_handler_config is no longer part of the public API in <libmaple/dma.h>. User code which was touching these was always mistaken; it should be using dma_attach_interrupt() or dma_detach_interrupt() instead. Other than that, just move the nonportable bits in <libmaple/dma.h> and libmaple/dma.c to the appropriate places under libmaple/stm32f1/. (Ouch. This is almost everything.) Patch the (new) STM32F1 <series/dma.h> here and there to make everything compile; this is mostly limited to forward-declaring struct dma_dev and providing a hack _dma_dev_regs() declaration so inline functions in the series header can still access a device's registers. 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 52ceea6..b67f446 100644
--- a/libmaple/stm32f1/rules.mk
+++ b/libmaple/stm32f1/rules.mk
@@ -13,6 +13,7 @@ sSRCS_$(d) += vector_table_performance.S
cSRCS_$(d) := adc.c
cSRCS_$(d) += bkp.c
+cSRCS_$(d) += dma.c
cSRCS_$(d) += fsmc.c
cSRCS_$(d) += gpio.c
cSRCS_$(d) += rcc.c