File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed 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