[riot-notifications] [RIOT-OS/RIOT] boards/stm32f4: Set DMA_STREAM_UNDEF for UART DMA (#14090)

Koen Zandberg notifications at github.com
Fri May 15 16:26:31 CEST 2020

### Contribution description

Currently a lot of boards do not have DMA streams configured, but do have snippets to enable DMA config for the UART (and sometimes SPI). This configuration is unfortunately incorrect due to this.

This PR sets the DMA configuration for the UART peripherals on the
stm32f4 boards to the undef value to disable DMA usage with UART. This to prevent
from accidentally configuring the DMA to stream 0 channel 0 when enabling DMA.

### Testing procedure

As there is no valid DMA peripheral config available for these boards, this only modifies dead code. 

### Issues/PRs references

I want to add valid DMA config to these boards later on, this is a first PR to ensure that I don't break the current UART config when enabling DMA.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * boards/stm32f4: Set DMA_STREAM_UNDEF for UART DMA

-- File Changes --

    M boards/f4vi1/include/periph_conf.h (5)
    M boards/msbiot/include/periph_conf.h (15)
    M boards/nucleo-f401re/include/periph_conf.h (15)
    M boards/nucleo-f410rb/include/periph_conf.h (15)
    M boards/nucleo-f411re/include/periph_conf.h (15)
    M boards/nucleo-f412zg/include/periph_conf.h (15)
    M boards/nucleo-f429zi/include/periph_conf.h (15)
    M boards/nucleo-f446re/include/periph_conf.h (15)
    M boards/nucleo-f446ze/include/periph_conf.h (15)
    M boards/pyboard/include/periph_conf.h (3)
    M boards/stm32f429i-disc1/include/periph_conf.h (5)
    M boards/stm32f4discovery/include/periph_conf.h (10)
    M boards/ublox-c030-u201/include/periph_conf.h (12)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200515/98e3070d/attachment.htm>

More information about the notifications mailing list