Skip to content

Commit c4ffd38

Browse files
committed
M487: 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 d5f034b commit c4ffd38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NUVOTON/TARGET_M480/PinNames.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ typedef enum {
118118
USBRX = PB_12,
119119
STDIO_UART_TX = USBTX,
120120
STDIO_UART_RX = USBRX,
121-
SERIAL_TX = USBTX,
122-
SERIAL_RX = USBRX,
121+
SERIAL_TX = D10,
122+
SERIAL_RX = D13,
123123
// LED naming
124124
LED_RED = PH_0,
125125
LED_YELLOW = PH_1,

0 commit comments

Comments
 (0)