Skip to content

Commit eb8ab48

Browse files
committed
system(H7): allow VECT_TAB_BASE_ADDRESS redefinition
Fixes stm32duino#2054 Signed-off-by: Frederic Pillon <[email protected]>
1 parent b0ac294 commit eb8ab48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/STM32H7xx/system_stm32h7xx.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
This value must be a multiple of 0x300. */
8282
#endif
8383

84+
#ifndef VECT_TAB_BASE_ADDRESS
8485
#if defined(DUAL_CORE) && defined(CORE_CM4)
8586
#if defined(VECT_TAB_SRAM)
8687
#define VECT_TAB_BASE_ADDRESS D2_AXISRAM_BASE /*!< Vector Table base address field.
@@ -99,7 +100,7 @@
99100
This value must be a multiple of 0x300. */
100101
#endif /* VECT_TAB_SRAM */
101102
#endif /* DUAL_CORE && CORE_CM4 */
102-
103+
#endif /* !VECT_TAB_BASE_ADDRESS */
103104

104105

105106
/******************************************************************************/

0 commit comments

Comments
 (0)