Skip to content

Commit 658edfb

Browse files
author
Julien Staub
committed
propose default value for clocks
1 parent b9a3117 commit 658edfb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Drivers/CMSIS/Device/ST/STM32MP1xx/Source/Templates/system_stm32mp1xx.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@
4747

4848
#include "stm32mp1xx.h"
4949

50+
#if !defined (HSE_VALUE)
51+
#define HSE_VALUE 24000000U /*!< Value of the External oscillator in Hz */
52+
#endif /* HSE_VALUE */
53+
54+
#if !defined (HSI_VALUE)
55+
#define HSI_VALUE 64000000U /*!< Value of the Internal oscillator in Hz*/
56+
#endif /* HSI_VALUE */
57+
58+
#if !defined (CSI_VALUE)
59+
#define CSI_VALUE 4000000U /*!< Value of the Internal oscillator in Hz*/
60+
#endif /* CSI_VALUE */
61+
5062
/**
5163
* @}
5264
*/

0 commit comments

Comments
 (0)