projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LPC2xxx: Add Vectored Interrupt Controller (VIC) driver.
[bertos.git]
/
bertos
/
cpu
/
arm
/
hw
/
init_lpc2.c
diff --git
a/bertos/cpu/arm/hw/init_lpc2.c
b/bertos/cpu/arm/hw/init_lpc2.c
index f08d2a326e032999590ec74193320a9eaddca728..033216d1d93540be4ea4430367c003c2f5022e38 100644
(file)
--- a/
bertos/cpu/arm/hw/init_lpc2.c
+++ b/
bertos/cpu/arm/hw/init_lpc2.c
@@
-36,6
+36,7
@@
* notest:arm
*/
#include <cpu/irq.h>
+#include <drv/vic_lpc2.h>
#include <io/lpc23xx.h>
#if CPU_FREQ != 72000000UL
@@
-119,3
+120,10
@@
void __init1(void)
/* Memory accelerator module fully enabled */
MAMCR = 0x02;
}
+
+void __init2(void);
+
+void __init2(void)
+{
+ vic_init();
+}