projects
/
bertos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
signal: move some of the API documentation in signal.h
[bertos.git]
/
boards
/
sam3x-ek
/
templates
/
empty
/
main.c
1
#include <cpu/irq.h>
2
#include <cfg/debug.h>
3
#include <drv/timer.h>
4
#include <hw/hw_led.h>
5
#include <drv/lcd_hx8347.h>
6
7
static void init(void)
8
{
9
kdbg_init();
10
11
IRQ_ENABLE;
12
13
timer_init();
14
LED_INIT();
15
lcd_hx8347_init();
16
}
17
18
int main(void)
19
{
20
init();
21
22
LED_ON(LED_RED);
23
24
for (;;)
25
{
26
kprintf("Hello world!\n");
27
timer_delay(500);
28
}
29
30
return 0;
31
}
32