diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-19 16:31:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-19 16:31:12 +0000 |
commit | d7ea71908198fbe6ed03df12eb3ce2b77a8945dc (patch) | |
tree | 787da2f233548d2b82717641c04aa7334fb74cb7 /nuttx/configs/stm3240g-eval/include | |
parent | 92526b8dc0925c81edc33b794dd3d546de04b096 (diff) | |
download | px4-nuttx-d7ea71908198fbe6ed03df12eb3ce2b77a8945dc.tar.gz px4-nuttx-d7ea71908198fbe6ed03df12eb3ce2b77a8945dc.tar.bz2 px4-nuttx-d7ea71908198fbe6ed03df12eb3ce2b77a8945dc.zip |
STM32 SDIO driver now build with DMA enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4404 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/include')
-rwxr-xr-x | nuttx/configs/stm3240g-eval/include/board.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/include/board.h b/nuttx/configs/stm3240g-eval/include/board.h index aae5f0e22..322387b8f 100755 --- a/nuttx/configs/stm3240g-eval/include/board.h +++ b/nuttx/configs/stm3240g-eval/include/board.h @@ -420,6 +420,17 @@ #define GPIO_I2C1_SCL GPIO_I2C1_SCL_1 #define GPIO_I2C1_SDA GPIO_I2C1_SDA_2 +/* DMA Channl/Stream Selections *****************************************************/ +/* Stream selections are arbitrary for now but might become important in the future + * is we set aside more DMA channels/streams. + * + * SDIO DMA + * DMAMAP_SDIO_1 = Channel 4, Stream 3 + * DMAMAP_SDIO_2 = Channel 4, Stream 5 + */ + +#define DMAMAP_SDIO DMAMAP_SDIO_1 + /************************************************************************************ * Public Data ************************************************************************************/ |