mirror of https://github.com/ARMmbed/mbed-os.git
Fixed vector table size
parent
1e5d64df27
commit
49aef08ff4
|
@ -2,7 +2,7 @@
|
|||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 128K
|
||||
RAM (rwx) : ORIGIN = 0x20000198, LENGTH = 32k - 0x198
|
||||
RAM (rwx) : ORIGIN = 0x200001C8, LENGTH = 32k - 0x1C8
|
||||
}
|
||||
|
||||
/* Linker script to place sections and symbol values. Should be used together
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
|
||||
// STM32F411RE
|
||||
// CORE: 16 vectors = 64 bytes from 0x00 to 0x3F
|
||||
// MCU Peripherals: 86 vectors = 344 bytes from 0x40 to 0x197
|
||||
// Total: 102 vectors = 408 bytes (0x198) to be reserved in RAM
|
||||
#define NVIC_NUM_VECTORS 102
|
||||
// MCU Peripherals: 98 vectors = 392 bytes from 0x40 to 0x1C8
|
||||
// Total: 114 vectors = 456 bytes (0x1C8) to be reserved in RAM
|
||||
#define NVIC_NUM_VECTORS 114
|
||||
#define NVIC_USER_IRQ_OFFSET 16
|
||||
|
||||
#include "cmsis.h"
|
||||
|
|
Loading…
Reference in New Issue