[NANO130] fix USB TX/RX pin

pull/4631/head
MS30 CCChang12 2017-04-20 15:39:22 +08:00
parent d2f0d20614
commit f98c54948c
1 changed files with 4 additions and 4 deletions

View File

@ -107,8 +107,8 @@ typedef enum {
// FIXME: other board-specific naming // FIXME: other board-specific naming
// UART naming // UART naming
USBTX = PB_1, USBTX = PA_15,
USBRX = PB_0, USBRX = PA_14,
STDIO_UART_TX = USBTX, STDIO_UART_TX = USBTX,
STDIO_UART_RX = USBRX, STDIO_UART_RX = USBRX,
// LED naming // LED naming
@ -124,8 +124,8 @@ typedef enum {
#endif #endif
LED1 = PA_12, LED1 = PA_12,
LED2 = PA_13, LED2 = PA_13,
LED3 = PA_14, LED3 = LED1,
LED4 = LED3, LED4 = LED2,
LED_RED = LED1, LED_RED = LED1,
LED_GREEN = LED2, LED_GREEN = LED2,
LED_BLUE = LED3, LED_BLUE = LED3,