From 09b105ecf7c4abbf00cbcaac2831a19d84ef104a Mon Sep 17 00:00:00 2001 From: bernard Date: Sat, 21 Sep 2013 17:18:45 +0800 Subject: [PATCH] use UART0 as console --- bsp/beaglebone/drivers/serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/beaglebone/drivers/serial.c b/bsp/beaglebone/drivers/serial.c index 3698686aab..b29ffc9963 100644 --- a/bsp/beaglebone/drivers/serial.c +++ b/bsp/beaglebone/drivers/serial.c @@ -166,8 +166,8 @@ static const struct rt_uart_ops am33xx_uart_ops = struct serial_ringbuffer uart1_int_rx; struct am33xx_uart uart1 = { - UART1_BASE, - UART1_INT, + UART0_BASE, + UART0_INT, }; struct rt_serial_device serial1;