From d15d123eef2d43ce4ce55f9c3d1ac12e0c3f679a Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 24 Aug 2020 15:28:13 +0200 Subject: [PATCH] boards/stm32g4: enable max 170MHz clock by default --- boards/common/stm32/include/g4/cfg_clock_default.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/boards/common/stm32/include/g4/cfg_clock_default.h b/boards/common/stm32/include/g4/cfg_clock_default.h index 19615da177..af258a87be 100644 --- a/boards/common/stm32/include/g4/cfg_clock_default.h +++ b/boards/common/stm32/include/g4/cfg_clock_default.h @@ -48,15 +48,10 @@ extern "C" { #define CLOCK_CORECLOCK (CLOCK_HSE) #elif CLOCK_USE_PLL -/* The following parameters configure a 80MHz system clock with HSE as input clock */ -#define CLOCK_PLL_M (6) -#define CLOCK_PLL_N (40) -#define CLOCK_PLL_R (2) -/* Use the following to reach 170MHz +/* The following parameters configure a 170MHz system clock with HSE as input clock */ #define CLOCK_PLL_M (6) #define CLOCK_PLL_N (85) #define CLOCK_PLL_R (2) -*/ #if CLOCK_HSE #define CLOCK_PLL_SRC (CLOCK_HSE) #else /* CLOCK_HSI */