samples: boards: st: uart: circular_dma: update circular dma sample
Add the nucleo_wba55cg board, which implements continuous transfer with GPDMA and a linked list. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit is contained in:
parent
7b379f47fa
commit
2931ad70de
1 changed files with 16 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2025 STMicroelectronics
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&usart1 {
|
||||||
|
dmas = <&gpdma1 0 12 (STM32_DMA_PERIPH_TX)
|
||||||
|
&gpdma1 1 11 (STM32_DMA_MODE_CYCLIC | STM32_DMA_PERIPH_RX | STM32_DMA_MEM_8BITS)>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
fifo-enable;
|
||||||
|
};
|
||||||
|
|
||||||
|
&gpdma1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
Loading…
Reference in a new issue