Reorder include.
[bertos.git] / boards / stm32-p103 / templates / empty / main.c
index 33777883a8dd2200d9c64f503957c69c1c0a0d7c..251b987afdf62fb9c87d5017211aeb329ce92c70 100644 (file)
  * supported board and proposes an empty main.
  */
 
+#include "hw/hw_led.h"
+
 #include <cfg/debug.h>
+
 #include <cpu/irq.h>
-#include <hw/hw_led.h>
+
 #include <drv/timer.h>
-#include <kern/proc.h>
 
 static void init(void)
 {
+       /* Enable all the interrupts */
        IRQ_ENABLE;
 
+       /* Initialize debugging module (allow kprintf(), etc.) */
        kdbg_init();
+       /* Initialize system timer */
        timer_init();
-       proc_init();
+       /* Initialize LED driver */
        LED_INIT();
 }
 
 int main(void)
 {
        init();
+
+       /* Put your code here... */
        while (1)
        {
        }