From c4ffd38a908194385e957588f7783ba9402c4701 Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Wed, 4 Mar 2020 17:22:14 +0800 Subject: [PATCH] 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. --- targets/TARGET_NUVOTON/TARGET_M480/PinNames.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/TARGET_NUVOTON/TARGET_M480/PinNames.h b/targets/TARGET_NUVOTON/TARGET_M480/PinNames.h index 5ac031b8bd..a9357ce0f9 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/PinNames.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/PinNames.h @@ -118,8 +118,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, // LED naming LED_RED = PH_0, LED_YELLOW = PH_1,