mirror of https://github.com/ARMmbed/mbed-os.git
Correct Silabs NVIC selection
Again, the culprit was that the discriminant did not include armc6pull/4949/head
parent
0b7a9033b5
commit
fb53eb65d4
|
@ -8,7 +8,7 @@
|
||||||
#define NVIC_NUM_VECTORS (16 + EXT_IRQ_COUNT) // CORE + MCU Peripherals
|
#define NVIC_NUM_VECTORS (16 + EXT_IRQ_COUNT) // CORE + MCU Peripherals
|
||||||
|
|
||||||
/* For GCC, use dynamic vector table placement since otherwise we run into an alignment conflict */
|
/* For GCC, use dynamic vector table placement since otherwise we run into an alignment conflict */
|
||||||
#if (defined (__GNUC__) && (!defined(__CC_ARM)))
|
#if (defined (__GNUC__) && (!defined(__CC_ARM) && (!defined(__ARMCC_VERSION))))
|
||||||
extern uint32_t __start_vector_table__; // Dynamic vector positioning in GCC
|
extern uint32_t __start_vector_table__; // Dynamic vector positioning in GCC
|
||||||
#define NVIC_RAM_VECTOR_ADDRESS (&__start_vector_table__)
|
#define NVIC_RAM_VECTOR_ADDRESS (&__start_vector_table__)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue