From c4269ffefca930b0c12bcac029194cfc7c91a47c Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 10 Nov 2020 14:35:16 +0100 Subject: [PATCH] boards/nucleo-f0*: remove custom pll prediv/mul defines --- boards/nucleo-f031k6/include/periph_conf.h | 8 -------- boards/nucleo-f042k6/include/periph_conf.h | 8 -------- 2 files changed, 16 deletions(-) diff --git a/boards/nucleo-f031k6/include/periph_conf.h b/boards/nucleo-f031k6/include/periph_conf.h index e7f5da4bcb..a51f9814b2 100644 --- a/boards/nucleo-f031k6/include/periph_conf.h +++ b/boards/nucleo-f031k6/include/periph_conf.h @@ -20,14 +20,6 @@ #ifndef PERIPH_CONF_H #define PERIPH_CONF_H -/* Adjust PLL factors: - - On nucleo-f031k6, there's no HSE and PREDIV is hard-wired to 2 - - to reach 48MHz set PLL_MUL to 12 so core clock = (HSI8 / 2) * 12 = 48MHz */ -#define CONFIG_CLOCK_PLL_PREDIV (2) -#ifndef CONFIG_CLOCK_PLL_MUL -#define CONFIG_CLOCK_PLL_MUL (12) -#endif - #include "periph_cpu.h" #include "f0/cfg_clock_default.h" #include "cfg_timer_tim2.h" diff --git a/boards/nucleo-f042k6/include/periph_conf.h b/boards/nucleo-f042k6/include/periph_conf.h index e409716013..f70473b546 100644 --- a/boards/nucleo-f042k6/include/periph_conf.h +++ b/boards/nucleo-f042k6/include/periph_conf.h @@ -19,14 +19,6 @@ #ifndef PERIPH_CONF_H #define PERIPH_CONF_H -/* Adjust PLL factors: - - On nucleo-f042k6, there's no HSE and PREDIV is hard-wired to 2 - - to reach 48MHz set PLL_MUL to 12 so core clock = (HSI8 / 2) * 12 = 48MHz */ -#define CONFIG_CLOCK_PLL_PREDIV (2) -#ifndef CONFIG_CLOCK_PLL_MUL -#define CONFIG_CLOCK_PLL_MUL (12) -#endif - #include "periph_cpu.h" #include "f0/cfg_clock_default.h" #include "cfg_timer_tim2.h"