projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename project using the board names.
[bertos.git]
/
boards
/
at91sam7x-ek
/
templates
/
empty
/
main.c
diff --git
a/boards/at91sam7x-ek/templates/empty/main.c
b/boards/at91sam7x-ek/templates/empty/main.c
index 2bbaf0447b52c029b494235f77a512b396c964d5..1b6b79a690f8d1d2de1a158de703243f4f7252b9 100644
(file)
--- a/
boards/at91sam7x-ek/templates/empty/main.c
+++ b/
boards/at91sam7x-ek/templates/empty/main.c
@@
-38,14
+38,15
@@
* 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/power.h>
#include <cpu/irq.h>
#include <cpu/power.h>
-#include <hw/hw_led.h>
+
#include <drv/timer.h>
#include <drv/ser.h>
#include <drv/timer.h>
#include <drv/ser.h>
-#include <kern/proc.h>
-#include <drv/ser.h>
static Serial out;
static Serial out;
@@
-64,12
+65,6
@@
static void init(void)
ser_setbaudrate(&out, 115200);
/* Initialize LED driver */
LED_INIT();
ser_setbaudrate(&out, 115200);
/* 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)