This PR sets the DMA configuration for the UART peripherals on the
stm32f4 boards to the undef value to disable the DMA. This to prevent
from accidentally configuring the DMA to stream 0 channel 0 when
enabling DMA.
There is no hardware limitation for custom boards based on STM32 to uses
SPI bus with signals coming from different PORT and alternate functions.
This patch allow alternate's function definition per pin basis, thus enable
the support of SPI bus signals routed on differents PORT.
Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
The file always exist so no need to do '-include'.
Replaced using:
sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
$(git grep -l '$(RIOTCPU)/.*/Makefile.features' boards)
- nucleo-f334r8:
- Added USART1 and USART3 config
- nucleo-f401re:
- Changed order of UARTs to match the other boards
- nucleo-f410rb:
- Added USART6 configuration
- Fixed incorrect DMA settings (according to reference manual of the MCU)
- nucleo-f446re:
- Changed order of UARTs to match the other boards
- nucleo-l152re:
- Changed order of UARTs to match the other boards
The result of this harmonization is, that the first UART is always USART2, the
other USARTs are added in ascending order.