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:
parent
45b6aa4c3b
commit
0434c1fcb8
3 changed files with 27 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
CONFIG_NOCACHE_MEMORY=y
|
|
@ -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";
|
||||
};
|
|
@ -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) || \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue