Skip to content

Commit fb53eb6

Browse files
committed
Correct Silabs NVIC selection
Again, the culprit was that the discriminant did not include armc6
1 parent 0b7a903 commit fb53eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define NVIC_NUM_VECTORS (16 + EXT_IRQ_COUNT) // CORE + MCU Peripherals
99

1010
/* For GCC, use dynamic vector table placement since otherwise we run into an alignment conflict */
11-
#if (defined (__GNUC__) && (!defined(__CC_ARM)))
11+
#if (defined (__GNUC__) && (!defined(__CC_ARM) && (!defined(__ARMCC_VERSION))))
1212
extern uint32_t __start_vector_table__; // Dynamic vector positioning in GCC
1313
#define NVIC_RAM_VECTOR_ADDRESS (&__start_vector_table__)
1414
#else

0 commit comments

Comments
 (0)