mirror of https://github.com/ARMmbed/mbed-os.git
targets/s1sb6a: change UART_STDIO_PORT from UART0 to UART2
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>pull/13674/head
parent
f0679cca36
commit
6ff504a89f
|
@ -66,17 +66,17 @@ typedef enum {
|
|||
#define _UART_NAME(a, b) _UART_NAME_(a, b)
|
||||
|
||||
#ifndef UART_STDIO_PORT
|
||||
#define STDIO_UART_TX UART_TX0
|
||||
#define STDIO_UART_RX UART_RX0
|
||||
#define STDIO_UART UART_0
|
||||
#define STDIO_UART_TX UART2_TX
|
||||
#define STDIO_UART_RX UART2_RX
|
||||
#define STDIO_UART UART_2
|
||||
#else
|
||||
#define STDIO_UART_TX _UART_NAME(UART_TX, UART_STDIO_PORT)
|
||||
#define STDIO_UART_RX _UART_NAME(UART_RX, UART_STDIO_PORT)
|
||||
#define STDIO_UART _UART_NAME(UART_, UART_STDIO_PORT)
|
||||
#endif
|
||||
|
||||
#define USBTX UART_TX0
|
||||
#define USBRX UART_RX0
|
||||
#define USBTX UART2_TX
|
||||
#define USBRX UART2_RX
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue