File tree Expand file tree Collapse file tree 2 files changed +0
-78
lines changed
targets/TARGET_NUVOTON/TARGET_M480/device Expand file tree Collapse file tree 2 files changed +0
-78
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 32
32
# define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) &__start_vector_table__)
33
33
#endif
34
34
35
-
36
- #if defined(__CC_ARM )
37
- extern uint32_t Load$$LR$$LR_IROM1$$Base [];
38
- #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)Load$$LR$$LR_IROM1$$Base)
39
- #elif defined(__ICCARM__ )
40
- #pragma section=".intvec"
41
- #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)__section_begin(".intvec"))
42
- #elif defined(__GNUC__ )
43
- extern uint32_t __vector_table ;
44
- #define NVIC_FLASH_VECTOR_ADDRESS ((uint32_t)&__vector_table)
45
- #else
46
- #error "Flash vector address not set for this toolchain"
47
- #endif
48
-
49
- #ifdef __cplusplus
50
- extern "C" {
51
- #endif
52
-
53
- /** Set the ISR for IRQn
54
- *
55
- * Sets an Interrupt Service Routine vector for IRQn; if the feature is available, the vector table is relocated to SRAM
56
- * the first time this function is called
57
- * @param[in] IRQn The Interrupt Request number for which a vector will be registered
58
- * @param[in] vector The ISR vector to register for IRQn
59
- */
60
- void __NVIC_SetVector (IRQn_Type IRQn , uint32_t vector );
61
-
62
- /** Get the ISR registered for IRQn
63
- *
64
- * Reads the Interrupt Service Routine currently registered for IRQn
65
- * @param[in] IRQn The Interrupt Request number the vector of which will be read
66
- * @return Returns the ISR registered for IRQn
67
- */
68
- uint32_t __NVIC_GetVector (IRQn_Type IRQn );
69
-
70
- #ifdef __cplusplus
71
- }
72
- #endif
73
-
74
35
#endif
You can’t perform that action at this time.
0 commit comments