STM32H747xI: allow overriding SetSysClock

pull/13826/head
Martino Facchin 2020-10-28 14:44:05 +01:00
parent f2a01f2ba0
commit ae35c887f3
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ uint8_t SetSysClock_PLL_HSI(void);
* @retval None * @retval None
*/ */
void SetSysClock(void) MBED_WEAK void SetSysClock(void)
{ {
#if ((CLOCK_SOURCE) & USE_PLL_HSE_EXTC) #if ((CLOCK_SOURCE) & USE_PLL_HSE_EXTC)
/* 1- Try to start with HSE and external clock (MCO from STLink PCB part) */ /* 1- Try to start with HSE and external clock (MCO from STLink PCB part) */
@ -158,7 +158,7 @@ MBED_WEAK uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
/******************************************************************************/ /******************************************************************************/
/* PLL (clocked by HSI) used as System clock source */ /* PLL (clocked by HSI) used as System clock source */
/******************************************************************************/ /******************************************************************************/
uint8_t SetSysClock_PLL_HSI(void) MBED_WEAK uint8_t SetSysClock_PLL_HSI(void)
{ {
RCC_ClkInitTypeDef RCC_ClkInitStruct; RCC_ClkInitTypeDef RCC_ClkInitStruct;
RCC_OscInitTypeDef RCC_OscInitStruct; RCC_OscInitTypeDef RCC_OscInitStruct;