kdbg_init();
/* Initialize system timer */
timer_init();
- /* Initialize UART0 */
- ser_init(&out, SER_UART0);
- /* Configure UART0 to work at 115.200 bps */
+ /*
+ * 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 */
ser_setbaudrate(&out, 115200);
/* Initialize LED driver */
LED_INIT();
/* Initialize the keypad driver */
kbd_init();
/* Initialize the internal flash memory */
- flash_init(&flash);
-
- /*
- * Kernel initialization: processes (allow to create and dispatch
- * processes using proc_new()).
- */
- proc_init();
+ flash_init(&flash, 0);
}
static void NORETURN led_process(void)
monitor_report();
timer_delay(1000);
}
+
+ return 0;
}