Skip to content

Commit 02c359c

Browse files
authored
fix(ci): uart definition for esp32-p4 uart2 rx,tx pins
1 parent 2bce7bb commit 02c359c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: tests/validation/uart/uart.ino

+8
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@
5252
#define NEW_TX1 10
5353
#endif
5454

55+
// ESP32-P4 has no UART pin definition for RX2, TX2, RX3, TX3, RX4, TX4
56+
#ifndef RX2
57+
#define RX2 RX1
58+
#endif
59+
#ifndef TX2
60+
#define TX2 RX1
61+
#endif
62+
5563
/* Utility global variables */
5664

5765
static String recv_msg = "";

0 commit comments

Comments
 (0)