From 80518e6525ae4d9e1235896ae2fb1c574ef60ca3 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 6 Oct 2020 11:14:20 +0200 Subject: [PATCH] boards/stm32l4: adapt default clock config for 110MHz cpus --- boards/common/stm32/include/l4/cfg_clock_default.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/common/stm32/include/l4/cfg_clock_default.h b/boards/common/stm32/include/l4/cfg_clock_default.h index 1ad5a4dc98..f243860895 100644 --- a/boards/common/stm32/include/l4/cfg_clock_default.h +++ b/boards/common/stm32/include/l4/cfg_clock_default.h @@ -177,6 +177,8 @@ extern "C" { #error "SYSCLK cannot exceed 64MHz" #elif CLOCK_CORECLOCK_MAX == MHZ(80) #error "SYSCLK cannot exceed 80MHz" +#elif CLOCK_CORECLOCK_MAX == MHZ(110) +#error "SYSCLK cannot exceed 110MHz" #elif CLOCK_CORECLOCK_MAX == MHZ(120) #error "SYSCLK cannot exceed 120MHz" #else