From ca0c75f5042cdf602585b08184f132d7ab4713f3 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Fri, 30 Apr 2021 14:41:20 -0500 Subject: [PATCH] stm32/boards: Change default LSI_VALUE to 32000 for F4 MCUs. In the STM32 HAL libraries, the default value for LSI_VALUE for F4 MCUs is 32 kHz. Signed-off-by: David Lechner --- ports/stm32/boards/stm32f4xx_hal_conf_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/stm32/boards/stm32f4xx_hal_conf_base.h b/ports/stm32/boards/stm32f4xx_hal_conf_base.h index 134a30018c..f09990fd95 100644 --- a/ports/stm32/boards/stm32f4xx_hal_conf_base.h +++ b/ports/stm32/boards/stm32f4xx_hal_conf_base.h @@ -88,7 +88,7 @@ // Oscillator values in Hz #define HSI_VALUE (16000000) -#define LSI_VALUE (40000) +#define LSI_VALUE (32000) // SysTick has the highest priority #define TICK_INT_PRIORITY (0x00)