samples: circular_dma: fix DMA config for nucleo_c031c6
The circular DMA sample incorrectly configured channel 3 for the NUCLEO-C031C6 board, but this MCU has only 3 channels (0 - 2). Fixed by changing to channel 2. Signed-off-by: Richard Skriwanek <richy@fnc.at>
This commit is contained in:
parent
b194050402
commit
870703fe85
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
&usart2 {
|
&usart2 {
|
||||||
dmas = <&dmamux1 0 53 (STM32_DMA_PERIPH_TX)>,
|
dmas = <&dmamux1 0 53 (STM32_DMA_PERIPH_TX)>,
|
||||||
<&dmamux1 3 52 (STM32_DMA_PERIPH_RX | STM32_DMA_MEM_8BITS | STM32_DMA_MODE_CYCLIC)>;
|
<&dmamux1 2 52 (STM32_DMA_PERIPH_RX | STM32_DMA_MEM_8BITS | STM32_DMA_MODE_CYCLIC)>;
|
||||||
dma-names = "tx", "rx";
|
dma-names = "tx", "rx";
|
||||||
fifo-enable;
|
fifo-enable;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue