Skip to content

Commit 97649bb

Browse files
committed
STM32MP1xx: Review system_stm32mp1xx.c
1 parent c5f6381 commit 97649bb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

system/STM32MP1xx/system_stm32mp1xx.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,15 @@
4848
* @{
4949
*/
5050

51-
#include "stm32mp1xx_hal.h"
51+
#include "stm32mp1xx.h"
52+
53+
#if !defined (HSE_VALUE)
54+
#define HSE_VALUE ((uint32_t)24000000) /*!< Default value of the External oscillator in Hz : FPGA case fixed to 60MHZ */
55+
#endif /* HSE_VALUE */
56+
57+
#if !defined (HSI_VALUE)
58+
#define HSI_VALUE ((uint32_t)64000000) /*!< Default value of the Internal oscillator in Hz*/
59+
#endif /* HSI_VALUE */
5260

5361
/**
5462
* @}

0 commit comments

Comments
 (0)