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

Alexandre Abadie notifications at github.com
Wed May 20 17:15:08 CEST 2020


@aabadie commented on this pull request.



> @@ -27,6 +27,24 @@
 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 */

Oh, I think I have it now: since it's DMA2, the 8 streams of DMA1 are added. So makes sense.

-- 
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_r428094570
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200520/1257ed83/attachment-0001.htm>


More information about the notifications mailing list