projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Init the dmac to use sd or i2s module.
[bertos.git]
/
boards
/
sam3x-ek
/
templates
/
empty
/
main.c
diff --git
a/boards/sam3x-ek/templates/empty/main.c
b/boards/sam3x-ek/templates/empty/main.c
index fc0eaae9bee72b358d4a084e1ece4cc35d511208..0b8ac8007ce5c50bebe80c6f2f324daad8c0ed63 100644
(file)
--- a/
boards/sam3x-ek/templates/empty/main.c
+++ b/
boards/sam3x-ek/templates/empty/main.c
@@
-46,6
+46,7
@@
#include <drv/timer.h>
#include <drv/lcd_hx8347.h>
#include <drv/timer.h>
#include <drv/lcd_hx8347.h>
+#include <drv/dmac_sam3.h>
static void init(void)
{
static void init(void)
{
@@
-56,6
+57,7
@@
static void init(void)
timer_init();
LED_INIT();
lcd_hx8347_init();
timer_init();
LED_INIT();
lcd_hx8347_init();
+ dmac_init();
}
int main(void)
}
int main(void)