Skip to content

Commit 7d01ee3

Browse files
committed
system: U5: update STM32U5xx system
Remove duplicate clock definition. Allow VECT_TAB_OFFSET redefinition. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 57618c1 commit 7d01ee3

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

system/STM32U5xx/system_stm32u5xx.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,24 +119,15 @@
119119
* @{
120120
*/
121121

122-
#if !defined (HSE_VALUE)
123-
#define HSE_VALUE 16000000U /*!< Value of the External oscillator in Hz */
124-
#endif /* HSE_VALUE */
125-
126-
#if !defined (MSI_VALUE)
127-
#define MSI_VALUE 4000000U /*!< Value of the Internal oscillator in Hz*/
128-
#endif /* MSI_VALUE */
129-
130-
#if !defined (HSI_VALUE)
131-
#define HSI_VALUE 16000000U /*!< Value of the Internal oscillator in Hz*/
132-
#endif /* HSI_VALUE */
133122

134123
/************************* Miscellaneous Configuration ************************/
135124
/*!< Uncomment the following line if you need to relocate your vector Table in
136125
Internal SRAM. */
137126
/* #define VECT_TAB_SRAM */
127+
#ifndef VECT_TAB_OFFSET
138128
#define VECT_TAB_OFFSET 0x00000000UL /*!< Vector Table base offset field.
139129
This value must be a multiple of 0x200. */
130+
#endif
140131
/******************************************************************************/
141132

142133
/**

0 commit comments

Comments
 (0)