tests: drivers: uart async api test case on stm32u575 nucleo board
This commit configures the testcase to run on the stm32u5x5 target boards. USART2 is selected Pins Tx and Rx (PD5 PD6 on CN9) must be connected on the HW board to pass the test. The USART transfer uses the GP DMA transfer with request 27 and 26 on 2 DMA channels (0-15). Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
0c4cff9cda
commit
d8093cda7b
2 changed files with 13 additions and 1 deletions
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2022 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&usart2 {
|
||||
dmas = <&gpdma1 0 27 0x440
|
||||
&gpdma1 1 26 0x480>;
|
||||
dma-names = "tx", "rx";
|
||||
};
|
|
@ -45,7 +45,8 @@
|
|||
#define UART_DEVICE_DEV DT_NODELABEL(usart1)
|
||||
#elif defined(CONFIG_BOARD_NUCLEO_H723ZG) || \
|
||||
defined(CONFIG_BOARD_NUCLEO_H743ZI) || \
|
||||
defined(CONFIG_BOARD_STM32F3_DISCO)
|
||||
defined(CONFIG_BOARD_STM32F3_DISCO) || \
|
||||
defined(CONFIG_BOARD_NUCLEO_U575ZI_Q)
|
||||
#define UART_DEVICE_DEV DT_NODELABEL(usart2)
|
||||
#elif defined(CONFIG_BOARD_NUCLEO_L4R5ZI) || \
|
||||
defined(CONFIG_BOARD_NUCLEO_L152RE) || \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue