summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/include/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3240g-eval/include/board.h')
-rwxr-xr-xnuttx/configs/stm3240g-eval/include/board.h11
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
************************************************************************************/