tests: drivers: uart async on stm32h743 nucleo board

connect USART2 D53 / TX (pd5) to D52 / RX (pd6)
on the ARDuino connector CN9 of the nucleo board

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-12-21 17:49:31 +01:00 committed by Carles Cufí
commit 0434c1fcb8
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1 @@
CONFIG_NOCACHE_MEMORY=y

View file

@ -0,0 +1,25 @@
/*
* SPDX-License-Identifier: Apache-2.0
*/
&usart2 {
dmas = <&dmamux1 2 44 0x440>,
<&dmamux1 3 43 0x480>;
dma-names = "tx", "rx";
pinctrl-0 = <&usart2_tx_pd5 &usart2_rx_pd6>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};
&dma1 {
status = "okay";
};
&dma2 {
status = "okay";
};
&dmamux1 {
status = "okay";
};

View file

@ -35,6 +35,7 @@
defined(CONFIG_BOARD_NUCLEO_WL55JC)
#define UART_DEVICE_NAME DT_LABEL(DT_NODELABEL(usart1))
#elif defined(CONFIG_BOARD_NUCLEO_H723ZG) || \
defined(CONFIG_BOARD_NUCLEO_H743ZI) || \
defined(CONFIG_BOARD_STM32F3_DISCO)
#define UART_DEVICE_NAME DT_LABEL(DT_NODELABEL(usart2))
#elif defined(CONFIG_BOARD_NUCLEO_L4R5ZI) || \