File tree Expand file tree Collapse file tree 2 files changed +5
-55
lines changed
targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device Expand file tree Collapse file tree 2 files changed +5
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 20
20
#ifndef MBED_CMSIS_NVIC_H
21
21
#define MBED_CMSIS_NVIC_H
22
22
23
+ #define NVIC_RAM_VECTOR_ADDRESS (0x10000000) // Vectors positioned at start of RAM
24
+ #define NVIC_ROM_VECTOR_ADDRESS (0x00000000) // Initial vector position at start of ROM
25
+
23
26
// CORE: 64 vectors = 64 bytes from 0x00 to 0x3F
24
27
// MCU Peripherals: 85 vectors = 340 bytes from 0x40 to ...
25
28
// Total: 128 vectors = 512 bytes (0x200) to be reserved in RAM
26
29
#define NVIC_NUM_VECTORS 128
30
+ #ifndef NVIC_USER_IRQ_OFFSET
27
31
#define NVIC_USER_IRQ_OFFSET 64
28
-
29
- #include "cmsis.h"
30
-
31
- #ifdef __cplusplus
32
- extern "C" {
33
32
#endif
34
33
35
- void NVIC_SetVector (IRQn_Type IRQn , uint32_t vector );
36
- uint32_t NVIC_GetVector (IRQn_Type IRQn );
37
-
38
- #ifdef __cplusplus
39
- }
40
- #endif
34
+ #include "cmsis.h"
41
35
42
36
#endif
You can’t perform that action at this time.
0 commit comments