From c74a616be6f42fe736def26b3d70370b2759b005 Mon Sep 17 00:00:00 2001 From: ducky64 Date: Sat, 26 Mar 2016 12:44:43 -0700 Subject: [PATCH] Make Nucleo F303K8 number of interrupts consistent with amount of SRAM reserved by linker scripts --- .../TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h index eb09b74d89c..d4a4c2c0ed4 100644 --- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h +++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h @@ -32,11 +32,7 @@ #ifndef MBED_CMSIS_NVIC_H #define MBED_CMSIS_NVIC_H -// STM32F303RE -// CORE: 16 vectors = 64 bytes from 0x00 to 0x3F -// MCU Peripherals: 85 vectors = 340 bytes from 0x40 to 0x193 -// Total: 101 vectors = 404 bytes (0x194) to be reserved in RAM -#define NVIC_NUM_VECTORS 101 +#define NVIC_NUM_VECTORS 98 #define NVIC_USER_IRQ_OFFSET 16 #include "cmsis.h"