summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2021-04-30 14:41:20 -0500
committerDamien George <damien@micropython.org>2021-05-04 16:53:40 +1000
commitca0c75f5042cdf602585b08184f132d7ab4713f3 (patch)
treefdbf36b7ff43091ade33334f837522eacfe81720
parentd70ab87b2b108aa9d5321c272911f759ad3ee8a9 (diff)
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 <david@pybricks.com>
-rw-r--r--ports/stm32/boards/stm32f4xx_hal_conf_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/boards/stm32f4xx_hal_conf_base.h b/ports/stm32/boards/stm32f4xx_hal_conf_base.h
index 134a30018..f09990fd9 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)