Merge pull request #6803 from chuanga/wise-1510-uart-config

Wise 1510 uart config
pull/7084/head
Anna Bridge 2018-06-01 11:52:34 +01:00 committed by GitHub
commit 9986abe499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -186,8 +186,16 @@ typedef enum {
LED2 = GPIO2,
LED3 = GPIO4,
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
STDIO_UART_TX = MBED_CONF_TARGET_STDIO_UART_TX,
#else
STDIO_UART_TX = UART3_TX,
#endif
#ifdef MBED_CONF_TARGET_STDIO_UART_RX
STDIO_UART_RX = MBED_CONF_TARGET_STDIO_UART_RX,
#else
STDIO_UART_RX = UART3_RX,
#endif
SERIAL_TX = STDIO_UART_TX,
SERIAL_RX = STDIO_UART_RX,