projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up, silent warnings.
[bertos.git]
/
boards
/
stm32-p103
/
templates
/
empty
/
main.c
diff --git
a/boards/stm32-p103/templates/empty/main.c
b/boards/stm32-p103/templates/empty/main.c
index 577a98a652e53419baf2bfa9fd86bf886c4c7f20..251b987afdf62fb9c87d5017211aeb329ce92c70 100644
(file)
--- a/
boards/stm32-p103/templates/empty/main.c
+++ b/
boards/stm32-p103/templates/empty/main.c
@@
-38,11
+38,13
@@
* supported board and proposes an empty main.
*/
* supported board and proposes an empty main.
*/
+#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/timer.h>
-#include <kern/proc.h>
static void init(void)
{
static void init(void)
{
@@
-55,12
+57,6
@@
static void init(void)
timer_init();
/* Initialize LED driver */
LED_INIT();
timer_init();
/* Initialize LED driver */
LED_INIT();
-
- /*
- * Kernel initialization: processes (allow to create and dispatch
- * processes using proc_new()).
- */
- proc_init();
}
int main(void)
}
int main(void)