Skip to content

Commit 0c40686

Browse files
asmellbycsarip
authored andcommitted
tests: drivers: uart: Use EUSART0 as console on xg24_rb4187c
The UART test for USART needs to move the console to an EUSART instance in order to free up USART0 for the test. Since EUSART1 is configured for SPI use by the board DTS, use EUSART0 for console. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
1 parent c54b3c3 commit 0c40686

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/drivers/uart/uart_async_api/boards/xg24_rb4187c.overlay

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
*/
1010
/ {
1111
chosen {
12-
zephyr,console = &eusart1;
13-
zephyr,shell-uart = &eusart1;
14-
zephyr,uart-pipe = &eusart1;
12+
zephyr,console = &eusart0;
13+
zephyr,shell-uart = &eusart0;
14+
zephyr,uart-pipe = &eusart0;
1515
};
1616
};
1717

@@ -28,14 +28,14 @@
2828
silabs,input-filter;
2929
};
3030
};
31-
eusart1_default: eusart1_default {
31+
eusart0_default: eusart0_default {
3232
group0 {
33-
pins = <EUSART1_TX_PA8>;
33+
pins = <EUSART0_TX_PA8>;
3434
drive-push-pull;
3535
output-high;
3636
};
3737
group1 {
38-
pins = <EUSART1_RX_PA9>;
38+
pins = <EUSART0_RX_PA9>;
3939
input-enable;
4040
silabs,input-filter;
4141
};
@@ -50,10 +50,10 @@ dut: &usart0 {
5050
pinctrl-names = "default";
5151
};
5252

53-
&eusart1 {
53+
&eusart0 {
5454
compatible = "silabs,eusart-uart";
5555
current-speed = <115200>;
56-
pinctrl-0 = <&eusart1_default>;
56+
pinctrl-0 = <&eusart0_default>;
5757
pinctrl-names = "default";
5858
status = "okay";
5959
};

0 commit comments

Comments
 (0)