From 1f70a3caa2b333a2f222aad8765f6ce89004b077 Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Wed, 11 Mar 2020 16:49:37 +0800 Subject: [PATCH] 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. --- targets/TARGET_NUVOTON/TARGET_M251/PinNames.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,