File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 81
81
This value must be a multiple of 0x300. */
82
82
#endif
83
83
84
+ #ifndef VECT_TAB_BASE_ADDRESS
84
85
#if defined(DUAL_CORE ) && defined(CORE_CM4 )
85
86
#if defined(VECT_TAB_SRAM )
86
87
#define VECT_TAB_BASE_ADDRESS D2_AXISRAM_BASE /*!< Vector Table base address field.
99
100
This value must be a multiple of 0x300. */
100
101
#endif /* VECT_TAB_SRAM */
101
102
#endif /* DUAL_CORE && CORE_CM4 */
102
-
103
+ #endif /* !VECT_TAB_BASE_ADDRESS */
103
104
104
105
105
106
/******************************************************************************/
Original file line number Diff line number Diff line change 117
117
#define VECT_TAB_OFFSET 0x00008000U /*!< Vector Table base offset field.
118
118
This value must be a multiple of 0x100. */
119
119
#endif
120
+ #ifndef VECT_TAB_BASE_ADDRESS
120
121
#if defined(VECT_TAB_SRAM )
121
122
#define VECT_TAB_BASE_ADDRESS SRAM2_BASE /*!< Vector Table base address field.
122
123
This value must be a multiple of 0x100. */
123
124
#else
124
125
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
125
126
This value must be a multiple of 0x100. */
126
127
#endif /* VECT_TAB_SRAM */
127
-
128
+ #endif /* !VECT_TAB_BASE_ADDRESS */
128
129
#else /* CORE_CM4 */
129
130
#ifndef VECT_TAB_OFFSET
130
131
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
131
132
This value must be a multiple of 0x100. */
132
133
#endif
134
+ #ifndef VECT_TAB_BASE_ADDRESS
133
135
#if defined(VECT_TAB_SRAM )
134
136
#define VECT_TAB_BASE_ADDRESS SRAM1_BASE /*!< Vector Table base address field.
135
137
This value must be a multiple of 0x100. */
136
138
#else
137
139
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
138
140
This value must be a multiple of 0x100. */
139
141
#endif /* VECT_TAB_SRAM */
142
+ #endif /* !VECT_TAB_BASE_ADDRESS */
140
143
#endif /* CORE_CM0PLUS */
141
144
142
145
/**
You can’t perform that action at this time.
0 commit comments