projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update lm3s templates.
[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 d0e88d53a62bae3b6eec3d8f1ac6ccefee4f4093..31408ec35dbee6f33fe399108c2696f6c9fae2eb 100644
(file)
--- a/
boards/ek-lm3s1968/templates/kernel/main.c
+++ b/
boards/ek-lm3s1968/templates/kernel/main.c
@@
-72,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();
@@
-87,7
+87,7
@@
static void init(void)
/* Initialize the keypad driver */
kbd_init();
/* Initialize the internal flash memory */
/* Initialize the keypad driver */
kbd_init();
/* Initialize the internal flash memory */
-
flash_init(&flash
);
+
flash_init(&flash, 0
);
/*
* Kernel initialization: processes (allow to create and dispatch
/*
* Kernel initialization: processes (allow to create and dispatch