[riot-notifications] [RIOT-OS/RIOT] boards/stm32f4: Add DMA config for SPI (#14093)

Koen Zandberg notifications at github.com
Wed May 20 19:21:40 CEST 2020


@bergzand commented on this pull request.



> @@ -29,6 +29,32 @@
 extern "C" {
 #endif
 
+/**
+ * @name    DMA streams configuration
+ * @{
+ */
+#ifdef MODULE_PERIPH_DMA
+static const dma_conf_t dma_config[] = {
+    { .stream = 11 },   /* DMA2 Stream 3 - SPI1_TX */
+    { .stream = 10 },   /* DMA2 Stream 2 - SPI1_RX */
+    { .stream = 4 },    /* DMA1 Stream 4 - SPI2_TX */
+    { .stream = 3 },    /* DMA1 Stream 3 - SPI2_RX */
+    { .stream = 5 },    /* DMA1 Stream 5 - SPI3_TX */
+    { .stream = 0 },    /* DMA1 Stream 0 - SPI2_RX */

Fixed!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14093#discussion_r428181051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200520/65c8f040/attachment-0001.htm>


More information about the notifications mailing list