File tree Expand file tree Collapse file tree 2 files changed +3
-72
lines changed
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/device Expand file tree Collapse file tree 2 files changed +3
-72
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
/* mbed Microcontroller Library
2
- * CMSIS-style functionality to support dynamic vectors
3
2
*******************************************************************************
4
3
* Copyright (c) 2017, STMicroelectronics
5
4
* All rights reserved.
27
26
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
27
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
28
*******************************************************************************
30
- */
29
+ */
31
30
32
31
#ifndef MBED_CMSIS_NVIC_H
33
32
#define MBED_CMSIS_NVIC_H
34
33
35
34
// CORE: 16 vectors = 64 bytes from 0x00 to 0x3F
36
35
// MCU Peripherals: 82 vectors = 328 bytes from 0x40 to 0x187
37
36
// Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM
38
- #define NVIC_NUM_VECTORS 98
39
- #define NVIC_USER_IRQ_OFFSET 16
40
-
41
- #include "cmsis.h"
42
-
43
- #ifdef __cplusplus
44
- extern "C" {
45
- #endif
46
-
47
- void NVIC_SetVector (IRQn_Type IRQn , uint32_t vector );
48
- uint32_t NVIC_GetVector (IRQn_Type IRQn );
49
-
50
- #ifdef __cplusplus
51
- }
52
- #endif
37
+ #define NVIC_NUM_VECTORS 98
38
+ #define NVIC_RAM_VECTOR_ADDRESS 0x10000000 // Vectors positioned at start of SRAM2
53
39
54
40
#endif
You can’t perform that action at this time.
0 commit comments