From 3c2088a45fb81bd486632f067f1e1c5e3b1db645 Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Wed, 17 Mar 2021 10:56:34 +0100 Subject: [PATCH] STM32WB/STM32WL: watchdog LSI frequency Value from DataSheet --- targets/TARGET_STM/watchdog_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/TARGET_STM/watchdog_api.c b/targets/TARGET_STM/watchdog_api.c index 195a747f0d..b836a1935c 100644 --- a/targets/TARGET_STM/watchdog_api.c +++ b/targets/TARGET_STM/watchdog_api.c @@ -137,9 +137,9 @@ watchdog_features_t hal_watchdog_get_platform_features(void) features.clock_max_frequency = 47000; #elif defined(STM32F0) || defined(STM32F3) features.clock_max_frequency = 50000; -#elif defined(STM32H7) || defined(STM32L4) || defined(STM32WB) || defined(STM32WL) +#elif defined(STM32H7) || defined(STM32L4) features.clock_max_frequency = 33600; -#elif defined(STM32G0) || defined(STM32L5) || defined(STM32G4) +#elif defined(STM32G0) || defined(STM32L5) || defined(STM32G4) || defined(STM32WB) || defined(STM32WL) features.clock_max_frequency = 34000; #else #error "unsupported target"