projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add board images.
[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 5f6ff507242335f4e48b027cc2b1b69b7bc8144d..033216d1d93540be4ea4430367c003c2f5022e38 100644
(file)
--- a/
bertos/cpu/arm/hw/init_lpc2.c
+++ b/
bertos/cpu/arm/hw/init_lpc2.c
@@
-33,9
+33,10
@@
* \author Francesco Sacchi <batt@develer.com>
*
* \brief LPC2378 CRT.
* \author Francesco Sacchi <batt@develer.com>
*
* \brief LPC2378 CRT.
+ * notest:arm
*/
#include <cpu/irq.h>
*/
#include <cpu/irq.h>
-
+#include <drv/vic_lpc2.h>
#include <io/lpc23xx.h>
#if CPU_FREQ != 72000000UL
#include <io/lpc23xx.h>
#if CPU_FREQ != 72000000UL
@@
-119,3
+120,10
@@
void __init1(void)
/* Memory accelerator module fully enabled */
MAMCR = 0x02;
}
/* Memory accelerator module fully enabled */
MAMCR = 0x02;
}
+
+void __init2(void);
+
+void __init2(void)
+{
+ vic_init();
+}