mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Corrections for LP17xx UARTs and Nucleus 2G
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4331 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -314,7 +314,7 @@ static uart_dev_t g_uart3port =
|
||||
# elif defined(CONFIG_UART1_SERIAL_CONSOLE)
|
||||
# define CONSOLE_DEV g_uart1port /* UART1=console */
|
||||
# define TTYS0_DEV g_uart1port /* UART1=ttyS0 */
|
||||
# ifdef CONFIG_LPC17_UART
|
||||
# ifdef CONFIG_LPC17_UART0
|
||||
# define TTYS1_DEV g_uart0port /* UART1=ttyS0;UART0=ttyS1 */
|
||||
# ifdef CONFIG_LPC17_UART2
|
||||
# define TTYS2_DEV g_uart2port /* UART1=ttyS0;UART0=ttyS1;UART2=ttyS2 */
|
||||
@@ -353,7 +353,7 @@ static uart_dev_t g_uart3port =
|
||||
# elif defined(CONFIG_UART2_SERIAL_CONSOLE)
|
||||
# define CONSOLE_DEV g_uart2port /* UART2=console */
|
||||
# define TTYS0_DEV g_uart2port /* UART2=ttyS0 */
|
||||
# ifdef CONFIG_LPC17_UART
|
||||
# ifdef CONFIG_LPC17_UART2
|
||||
# define TTYS1_DEV g_uart0port /* UART2=ttyS0;UART0=ttyS1 */
|
||||
# ifdef CONFIG_LPC17_UART1
|
||||
# define TTYS2_DEV g_uart1port /* UART2=ttyS0;UART0=ttyS1;UART1=ttyS2 */
|
||||
@@ -392,7 +392,7 @@ static uart_dev_t g_uart3port =
|
||||
# elif defined(CONFIG_UART3_SERIAL_CONSOLE)
|
||||
# define CONSOLE_DEV g_uart3port /* UART3=console */
|
||||
# define TTYS0_DEV g_uart3port /* UART3=ttyS0 */
|
||||
# ifdef CONFIG_LPC17_UART
|
||||
# ifdef CONFIG_LPC17_UART0
|
||||
# define TTYS1_DEV g_uart0port /* UART3=ttyS0;UART0=ttyS1 */
|
||||
# ifdef CONFIG_LPC17_UART1
|
||||
# define TTYS2_DEV g_uart1port /* UART3=ttyS0;UART0=ttyS1;UART1=ttyS2 */
|
||||
|
||||
Reference in New Issue
Block a user