diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-12 16:11:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-12 16:11:43 +0000 |
commit | f6e415d0f9b52eba04a54e57893c0e3a99a6ad5f (patch) | |
tree | 0edc95b97d72ab0e52e0721919ec0822a1a9022f /nuttx/configs/stm3220g-eval/include/board.h | |
parent | 7769a6798482804a666bcd734b511795e53b33ff (diff) | |
download | px4-nuttx-f6e415d0f9b52eba04a54e57893c0e3a99a6ad5f.tar.gz px4-nuttx-f6e415d0f9b52eba04a54e57893c0e3a99a6ad5f.tar.bz2 px4-nuttx-f6e415d0f9b52eba04a54e57893c0e3a99a6ad5f.zip |
Get the STM3220G-EVAL nsh2 configuration to compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4936 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3220g-eval/include/board.h')
-rw-r--r-- | nuttx/configs/stm3220g-eval/include/board.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/configs/stm3220g-eval/include/board.h b/nuttx/configs/stm3220g-eval/include/board.h index f4fd918f1..bd0a059f7 100644 --- a/nuttx/configs/stm3220g-eval/include/board.h +++ b/nuttx/configs/stm3220g-eval/include/board.h @@ -265,6 +265,7 @@ * - PC11 is MicroSDCard_D3 & RS232/IrDA_RX (JP22 open) * - PC10 is MicroSDCard_D2 & RSS232/IrDA_TX */ + #ifdef CONFIG_STM32_USART3 # define GPIO_USART3_RX GPIO_USART3_RX_2 # define GPIO_USART3_TX GPIO_USART3_TX_2 @@ -422,6 +423,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 6 + */ + +#define DMAMAP_SDIO DMAMAP_SDIO_1 + /************************************************************************************ * Public Data ************************************************************************************/ |