Skip to content

Commit 4694003

Browse files
committed
Merge pull request #1633 from ducky64/master
Make Nucleo F303K8 number of interrupts consistent with amount of SRAM allocated
2 parents 232c046 + c74a616 commit 4694003

File tree

1 file changed

+1
-5
lines changed
  • libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8

1 file changed

+1
-5
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@
3232
#ifndef MBED_CMSIS_NVIC_H
3333
#define MBED_CMSIS_NVIC_H
3434

35-
// STM32F303RE
36-
// CORE: 16 vectors = 64 bytes from 0x00 to 0x3F
37-
// MCU Peripherals: 85 vectors = 340 bytes from 0x40 to 0x193
38-
// Total: 101 vectors = 404 bytes (0x194) to be reserved in RAM
39-
#define NVIC_NUM_VECTORS 101
35+
#define NVIC_NUM_VECTORS 98
4036
#define NVIC_USER_IRQ_OFFSET 16
4137

4238
#include "cmsis.h"

0 commit comments

Comments
 (0)