Skip to content

Commit 2954e51

Browse files
committed
system(H5): update STM32H5xx system
Remove duplicate clock definition. Allow VECT_TAB_OFFSET redefinition. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent f2bc2b3 commit 2954e51

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

system/STM32H5xx/system_stm32h5xx.c

+2-12
Original file line numberDiff line numberDiff line change
@@ -127,24 +127,14 @@
127127
* @{
128128
*/
129129

130-
#if !defined (HSE_VALUE)
131-
#define HSE_VALUE (25000000UL) /*!< Value of the External oscillator in Hz */
132-
#endif /* HSE_VALUE */
133-
134-
#if !defined (CSI_VALUE)
135-
#define CSI_VALUE (4000000UL) /*!< Value of the Internal oscillator in Hz*/
136-
#endif /* CSI_VALUE */
137-
138-
#if !defined (HSI_VALUE)
139-
#define HSI_VALUE (64000000UL) /*!< Value of the Internal oscillator in Hz */
140-
#endif /* HSI_VALUE */
141-
142130
/************************* Miscellaneous Configuration ************************/
143131
/*!< Uncomment the following line if you need to relocate your vector Table in
144132
Internal SRAM. */
145133
/* #define VECT_TAB_SRAM */
134+
#ifndef VECT_TAB_OFFSET
146135
#define VECT_TAB_OFFSET 0x00U /*!< Vector Table base offset field.
147136
This value must be a multiple of 0x200. */
137+
#endif
148138
/******************************************************************************/
149139

150140
/**

0 commit comments

Comments
 (0)