Skip to content

Commit 5b4e0b3

Browse files
authored
Merge pull request #4963 from NXPmicro/Fix_NVIC_NUM_VECTORS
K66F,KW24D,K22F,K64F: Fix NVIC_NUM_VECTORS value
2 parents 675a17c + c5b66b8 commit 5b4e0b3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extern uint32_t __VECTOR_RAM[];
3939
#endif
4040

4141
/* Symbols defined by the linker script */
42-
#define NVIC_NUM_VECTORS (16 + 240) // CORE + MCU Peripherals
42+
#define NVIC_NUM_VECTORS (16 + 100) // CORE + MCU Peripherals
4343
#define NVIC_RAM_VECTOR_ADDRESS (__VECTOR_RAM) // Vectors positioned at start of RAM
4444

4545
#endif

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW24D/device/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extern uint32_t __VECTOR_RAM[];
3939
#endif
4040

4141
/* Symbols defined by the linker script */
42-
#define NVIC_NUM_VECTORS (16 + 240) // CORE + MCU Peripherals
42+
#define NVIC_NUM_VECTORS (16 + 65) // CORE + MCU Peripherals
4343
#define NVIC_RAM_VECTOR_ADDRESS (__VECTOR_RAM) // Vectors positioned at start of RAM
4444

4545
#endif

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extern uint32_t __VECTOR_RAM[];
3939
#endif /* defined(__CC_ARM) */
4040

4141
/* Symbols defined by the linker script */
42-
#define NVIC_NUM_VECTORS (16 + 240) // CORE + MCU Peripherals
42+
#define NVIC_NUM_VECTORS (16 + 74) // CORE + MCU Peripherals
4343
#define NVIC_RAM_VECTOR_ADDRESS (__VECTOR_RAM) // Vectors positioned at start of RAM
4444

4545
#endif

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extern uint32_t __VECTOR_RAM[];
3939
#endif /* defined(__CC_ARM) */
4040

4141
/* Symbols defined by the linker script */
42-
#define NVIC_NUM_VECTORS (16 + 240) // CORE + MCU Peripherals
42+
#define NVIC_NUM_VECTORS (16 + 86) // CORE + MCU Peripherals
4343
#define NVIC_RAM_VECTOR_ADDRESS (__VECTOR_RAM) // Vectors positioned at start of RAM
4444

4545
#endif

0 commit comments

Comments
 (0)