Skip to content

Commit 1f70a3c

Browse files
committed
M252: Change SERIAL_TX/SERIAL_RX pin names to other than USBTX/USBRX
USBTX/USBRX should be dedicated for USB VCOM and not for other uses.
1 parent 2e1627d commit 1f70a3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NUVOTON/TARGET_M251/PinNames.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ typedef enum {
111111
USBRX = PB_12,
112112
STDIO_UART_TX = USBTX,
113113
STDIO_UART_RX = USBRX,
114-
SERIAL_TX = USBTX,
115-
SERIAL_RX = USBRX,
114+
SERIAL_TX = D10,
115+
SERIAL_RX = D13,
116116

117117
/* I2C naming */
118118
I2C_SCL = D15,

0 commit comments

Comments
 (0)