Move serial driver to a port different from the debug one.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 28 May 2010 13:57:27 +0000 (13:57 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 28 May 2010 13:57:27 +0000 (13:57 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3874 38d2e660-2303-0410-9eaa-f027e97ec537

boards/ek-lm3s1968/templates/empty/main.c
boards/ek-lm3s1968/templates/kernel/main.c
boards/lpc-p2378/templates/empty/main.c
boards/lpc-p2378/templates/kernel/main.c

index 69ec1f21df60f196a80306ea0eacfc111e43ed59..224e9335be65d715077547af782eb7ed4b4b4e35 100644 (file)
@@ -68,8 +68,8 @@ static void init(void)
        kdbg_init();
        /* Initialize system timer */
        timer_init();
-       /* Initialize UART0 */
-       ser_init(&out, SER_UART0);
+       /* Initialize UART1 */
+       ser_init(&out, SER_UART1);
        /* Configure UART0 to work at 115.200 bps */
        ser_setbaudrate(&out, 115200);
        /* Initialize LED driver */
index d0e88d53a62bae3b6eec3d8f1ac6ccefee4f4093..34ad1c652112a20f59cdb604568429b4bbd9c2dc 100644 (file)
@@ -72,9 +72,9 @@ static void init(void)
        kdbg_init();
        /* Initialize system timer */
        timer_init();
-       /* Initialize UART0 */
-       ser_init(&out, SER_UART0);
-       /* Configure UART0 to work at 115.200 bps */
+       /* Initialize UART1 */
+       ser_init(&out, SER_UART1);
+       /* Configure UART1 to work at 115.200 bps */
        ser_setbaudrate(&out, 115200);
        /* Initialize LED driver */
        LED_INIT();
index 653427e3d9c73dc3011c8033faff464753e7c55a..9ed920e7bf10533f78330b11d9a7dc1069281abb 100644 (file)
@@ -60,9 +60,9 @@ static void init(void)
        kdbg_init();
        /* Initialize system timer */
        timer_init();
-       /* Initialize UART0 */
-       ser_init(&out, SER_UART0);
-       /* Configure UART0 to work at 115.200 bps */
+       /* Initialize UART1 */
+       ser_init(&out, SER_UART1);
+       /* Configure UART1 to work at 115.200 bps */
        ser_setbaudrate(&out, 115200);
        /* Initialize LED driver */
        LED_INIT();
index ff8b2f129e36069b60e258c23896f9f0143f5a47..ad5c7ada6984a7fe2881cb9db403678d40da0dc2 100644 (file)
@@ -63,9 +63,9 @@ static void init(void)
        kdbg_init();
        /* Initialize system timer */
        timer_init();
-       /* Initialize UART0 */
-       ser_init(&out, SER_UART0);
-       /* Configure UART0 to work at 115.200 bps */
+       /* Initialize UART1 */
+       ser_init(&out, SER_UART1);
+       /* Configure UART1 to work at 115.200 bps */
        ser_setbaudrate(&out, 115200);
        /* Initialize LED driver */
        LED_INIT();