summaryrefslogtreecommitdiff
path: root/arch/arm/lpc17xx/mbed/BoardInit.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-27 22:19:47 -0800
committerPixel <pixel@nobis-crew.org>2011-01-27 22:19:47 -0800
commit27e7b701ceb1a96070b8eeadf85d3643a7adcc4e (patch)
treeaba7654851c249075127a100813ed21bf51c2d41 /arch/arm/lpc17xx/mbed/BoardInit.c
parentbcfc9ad0a5d72f6d49fa96f221fdcb0930862539 (diff)
I fail at C-programming. Base VTOR address now works properly.
Diffstat (limited to 'arch/arm/lpc17xx/mbed/BoardInit.c')
-rw-r--r--arch/arm/lpc17xx/mbed/BoardInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lpc17xx/mbed/BoardInit.c b/arch/arm/lpc17xx/mbed/BoardInit.c
index 9c5aa89..bd31b35 100644
--- a/arch/arm/lpc17xx/mbed/BoardInit.c
+++ b/arch/arm/lpc17xx/mbed/BoardInit.c
@@ -1,9 +1,9 @@
#include "lpc17xx_nvic.h"
-extern void * __cs3_interrupt_vector_mutable;
+extern uintptr_t __cs3_interrupt_vector_mutable[];
void BoardEarlyInit() {
- //NVIC_SetVTOR((uint32_t) __cs3_interrupt_vector_mutable);
+ NVIC_SetVTOR((uintptr_t) __cs3_interrupt_vector_mutable);
}
void BoardLateInit() {