Skip to content

Commit 1c01fcd

Browse files
authored
fix(uart): fixed esp32s2 uart ci test case (#10926)
Wrong pins were used for baud rate detection test case, therefore no data was reaching UART1 RX FIFO from UART0 TX loopback.
1 parent 0302b4d commit 1c01fcd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/validation/uart/uart.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ void auto_baudrate_test(void) {
399399

400400
if (TEST_UART_NUM == 1) {
401401
selected_serial = &Serial1;
402-
uart_internal_loopback(0, RX1);
402+
// UART1 pins were swapped because of ESP32-P4
403+
uart_internal_loopback(0, /*RX1*/ TX1);
403404
} else {
404405
#ifdef RX2
405406
selected_serial = &Serial2;

0 commit comments

Comments
 (0)