From 20862e7bb5cf7d2799b80eae03ee663e562a2ed6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 16 Oct 2009 17:23:28 +0000 Subject: [PATCH] First cut at DMA code git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2142 42af7a65-404d-4744-a932-0658087f49c3 --- configs/stm3210e-eval/src/up_boot.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/stm3210e-eval/src/up_boot.c b/configs/stm3210e-eval/src/up_boot.c index aef793520ff..9787abaeb13 100755 --- a/configs/stm3210e-eval/src/up_boot.c +++ b/configs/stm3210e-eval/src/up_boot.c @@ -72,6 +72,15 @@ void stm32_boardinitialize(void) { + /* Initialize the DMA subsystem if the weak function stm32_dmainitialize has been + * brought into the build + */ + + if (stm32_dmainitialize) + { + stm32_dmainitialize(); + } + /* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function * stm32_spiinitialize() has been brought into the link. */