projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove \version svn tag.
[bertos.git]
/
boards
/
ek-lm3s1968
/
templates
/
kernel
/
main.c
diff --git
a/boards/ek-lm3s1968/templates/kernel/main.c
b/boards/ek-lm3s1968/templates/kernel/main.c
index 68fdf45fc59e56a06135b3ed5352b79c2ce1bd21..34ad1c652112a20f59cdb604568429b4bbd9c2dc 100644
(file)
--- a/
boards/ek-lm3s1968/templates/kernel/main.c
+++ b/
boards/ek-lm3s1968/templates/kernel/main.c
@@
-39,14
+39,18
@@
* continues to monitor the stack utilization of all the processes.
*/
* continues to monitor the stack utilization of all the processes.
*/
+#include "hw/hw_led.h"
+
#include <cfg/debug.h>
#include <cfg/debug.h>
+
#include <cpu/irq.h>
#include <cpu/irq.h>
-#include <hw/hw_led.h>
+
#include <drv/timer.h>
#include <drv/ser.h>
#include <drv/lcd_rit128x96.h>
#include <drv/kbd.h>
#include <drv/flash.h>
#include <drv/timer.h>
#include <drv/ser.h>
#include <drv/lcd_rit128x96.h>
#include <drv/kbd.h>
#include <drv/flash.h>
+
#include <kern/proc.h>
#include <kern/monitor.h>
#include <kern/proc.h>
#include <kern/monitor.h>
@@
-68,9
+72,9
@@
static void init(void)
kdbg_init();
/* Initialize system timer */
timer_init();
kdbg_init();
/* Initialize system timer */
timer_init();
- /* Initialize UART
0
*/
- ser_init(&out, SER_UART
0
);
- /* Configure UART
0
to work at 115.200 bps */
+ /* Initialize UART
1
*/
+ ser_init(&out, SER_UART
1
);
+ /* Configure UART
1
to work at 115.200 bps */
ser_setbaudrate(&out, 115200);
/* Initialize LED driver */
LED_INIT();
ser_setbaudrate(&out, 115200);
/* Initialize LED driver */
LED_INIT();