Skip to content

Commit 758d160

Browse files
committed
[EFM32] Collapse NVIC relocation handling
Gecko SDK 5.0.0 provides a convenient define for the amount of vectors wired on the chip, so we can use that to collapse the cmsis_nvic.h header
1 parent 7c0dd13 commit 758d160

File tree

6 files changed

+1
-131
lines changed

6 files changed

+1
-131
lines changed

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG/device/cmsis_nvic.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG/device/cmsis_nvic.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG/device/cmsis_nvic.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG/device/cmsis_nvic.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG/device/cmsis_nvic.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG/device/cmsis_nvic.h renamed to targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include "cmsis.h"
1111

12-
#define NVIC_NUM_VECTORS (16 + 39) // CORE + MCU Peripherals
12+
#define NVIC_NUM_VECTORS (16 + EXT_IRQ_COUNT) // CORE + MCU Peripherals
1313
#define NVIC_USER_IRQ_OFFSET 16
1414

1515
#ifdef __cplusplus

0 commit comments

Comments
 (0)