summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-16 17:23:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-16 17:23:28 +0000
commit1f9bccb163fbfc36dfd9e5c165b86235d3ff920c (patch)
treec8a24028147a39402ca0e1cdc5331c9dc4c0587d /nuttx/configs/stm3210e-eval
parentdfacf066dd89e8598529817bb0f6a1eab53ecaa4 (diff)
downloadpx4-nuttx-1f9bccb163fbfc36dfd9e5c165b86235d3ff920c.tar.gz
px4-nuttx-1f9bccb163fbfc36dfd9e5c165b86235d3ff920c.tar.bz2
px4-nuttx-1f9bccb163fbfc36dfd9e5c165b86235d3ff920c.zip
First cut at DMA code
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2142 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval')
-rwxr-xr-xnuttx/configs/stm3210e-eval/src/up_boot.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_boot.c b/nuttx/configs/stm3210e-eval/src/up_boot.c
index aef793520..9787abaeb 100755
--- a/nuttx/configs/stm3210e-eval/src/up_boot.c
+++ b/nuttx/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.
*/