mbed library sources
Fork of mbed-src by
Diff: targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c
- Revision:
- 47:02833c62d054
- Parent:
- 20:4263a77256ae
- Child:
- 256:76fd9a263045
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c Mon Nov 11 13:30:09 2013 +0000 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c Thu Nov 21 10:00:05 2013 +0000 @@ -89,6 +89,10 @@ extern void *__vector_table; *pSCB_VTOR = (unsigned int) &__vector_table; +#elif defined(TOOLCHAIN_GCC_ARM) + extern void *__isr_vector; + + *pSCB_VTOR = (unsigned int) &__isr_vector; #else /* defined(__GNUC__) and others */ extern void *g_pfnVectors;