Skip to content

Commit 876d531

Browse files
committed
tests: drivers: uart: uart_async_api: add nucleo_c092rc overlay
Add a overlay for the nucleo_c092 testing usart4 and dma channels 6 and 7. These are all not available in smaller STM32C0 SoCs. Signed-off-by: Thomas Stranger <[email protected]>
1 parent 3da2291 commit 876d531

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
&usart4 {
4+
/* available on ST morpho connector CN10 pins 4 and 22 */
5+
pinctrl-0 = <&usart4_tx_pc1 &usart4_rx_pc0>;
6+
pinctrl-names = "default";
7+
current-speed = <115200>;
8+
status = "okay";
9+
};
10+
11+
12+
dut: &usart4 {
13+
dmas = <&dmamux1 5 57 STM32_DMA_PERIPH_TX>,
14+
<&dmamux1 6 56 STM32_DMA_PERIPH_RX>;
15+
dma-names = "tx", "rx";
16+
};
17+
18+
&dma1 {
19+
status = "okay";
20+
};
21+
22+
&dmamux1 {
23+
status = "okay";
24+
};

0 commit comments

Comments
 (0)