diff --git a/targets/TARGET_NUVOTON/TARGET_M251/PinNames.h b/targets/TARGET_NUVOTON/TARGET_M251/PinNames.h index aa1d0f8470..510528acf1 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/PinNames.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/PinNames.h @@ -111,8 +111,8 @@ typedef enum { USBRX = PB_12, STDIO_UART_TX = USBTX, STDIO_UART_RX = USBRX, - SERIAL_TX = USBTX, - SERIAL_RX = USBRX, + SERIAL_TX = D10, + SERIAL_RX = D13, /* I2C naming */ I2C_SCL = D15,