From f98c54948c5d1d4a7688bdec0676976f92ead2cd Mon Sep 17 00:00:00 2001 From: MS30 CCChang12 Date: Thu, 20 Apr 2017 15:39:22 +0800 Subject: [PATCH] [NANO130] fix USB TX/RX pin --- .../TARGET_NANO100/TARGET_NUMAKER_PFM_NANO130/PinNames.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/TARGET_NUMAKER_PFM_NANO130/PinNames.h b/targets/TARGET_NUVOTON/TARGET_NANO100/TARGET_NUMAKER_PFM_NANO130/PinNames.h index ec912bcf7c..5972651a6f 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/TARGET_NUMAKER_PFM_NANO130/PinNames.h +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/TARGET_NUMAKER_PFM_NANO130/PinNames.h @@ -107,8 +107,8 @@ typedef enum { // FIXME: other board-specific naming // UART naming - USBTX = PB_1, - USBRX = PB_0, + USBTX = PA_15, + USBRX = PA_14, STDIO_UART_TX = USBTX, STDIO_UART_RX = USBRX, // LED naming @@ -124,8 +124,8 @@ typedef enum { #endif LED1 = PA_12, LED2 = PA_13, - LED3 = PA_14, - LED4 = LED3, + LED3 = LED1, + LED4 = LED2, LED_RED = LED1, LED_GREEN = LED2, LED_BLUE = LED3,