projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sam3 i2c: Fix handling of CR start/stop bits and simplify initialization.
[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 13adcb0ffcfd175cbf7ecf310c5ec6080a2987a7..677553eda3613d2941caeb501db5f4df3743b393 100644
(file)
--- a/
boards/ek-lm3s1968/templates/kernel/main.c
+++ b/
boards/ek-lm3s1968/templates/kernel/main.c
@@
-72,6
+72,11
@@
static void init(void)
kdbg_init();
/* Initialize system timer */
timer_init();
kdbg_init();
/* Initialize system timer */
timer_init();
+ /*
+ * Kernel initialization: processes (allow to create and dispatch
+ * processes using proc_new()).
+ */
+ proc_init();
/* Initialize UART1 */
ser_init(&out, SER_UART1);
/* Configure UART1 to work at 115.200 bps */
/* Initialize UART1 */
ser_init(&out, SER_UART1);
/* Configure UART1 to work at 115.200 bps */
@@
-88,12
+93,6
@@
static void init(void)
kbd_init();
/* Initialize the internal flash memory */
flash_init(&flash, 0);
kbd_init();
/* Initialize the internal flash memory */
flash_init(&flash, 0);
-
- /*
- * Kernel initialization: processes (allow to create and dispatch
- * processes using proc_new()).
- */
- proc_init();
}
static void NORETURN led_process(void)
}
static void NORETURN led_process(void)