Skip to content

Commit

Permalink
tests: drivers: uart async testing on the stm32f103 nucleo
Browse files Browse the repository at this point in the history
Configure the overlay to have DMA transfer with high priority
when running the tests/drivers/uart/uart_async_api on nucleo_f103rb.

Signed-off-by: Francois Ramu <[email protected]>
  • Loading branch information
FRASTM authored and fabiobaltieri committed May 16, 2023
1 parent 21b9a1c commit 4d4900c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0 */

/* Connect pin (PA10) D2 of the CN9:2 to D8 (PA9) of the CN5:1 */
dut: &usart1 {
dmas = <&dma1 4 STM32_DMA_PERIPH_TX>,
<&dma1 5 STM32_DMA_PERIPH_RX>;
dmas = <&dma1 4 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH)>,
<&dma1 5 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>;
dma-names = "tx", "rx";
};

Expand Down

0 comments on commit 4d4900c

Please sign in to comment.