my fork
Fork of mbed by
Diff: TARGET_NUCLEO_F302R8/cmsis_nvic.h
- Revision:
- 90:cb3d968589d8
- Parent:
- 82:6473597d706e
--- a/TARGET_NUCLEO_F302R8/cmsis_nvic.h Fri Sep 12 16:41:52 2014 +0100 +++ b/TARGET_NUCLEO_F302R8/cmsis_nvic.h Tue Oct 28 16:40:41 2014 +0000 @@ -33,10 +33,10 @@ #define MBED_CMSIS_NVIC_H // STM32F302R8 -// CORE: 16 vectors (= 64 bytes from 0x00 to 0x3F) -// MCU Peripherals: 82 vectors (= 328 bytes from 0x40 to ...) -// Total: 392 bytes to be reserved in RAM (see scatter file) -#define NVIC_NUM_VECTORS (16 + 82) +// CORE: 16 vectors = 64 bytes from 0x00 to 0x3F +// MCU Peripherals: 82 vectors = 328 bytes from 0x40 to 0x187 +// Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM +#define NVIC_NUM_VECTORS 98 #define NVIC_USER_IRQ_OFFSET 16 #include "cmsis.h"