Correct Silabs NVIC selection

Again, the culprit was that the discriminant did not include armc6
pull/4949/head
Jimmy Brisson 2017-08-29 17:28:22 -05:00
parent 0b7a9033b5
commit fb53eb65d4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
#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 */
#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
#define NVIC_RAM_VECTOR_ADDRESS (&__start_vector_table__)
#else