From 5e58eccd5a86f1371d7012322e726228bfc250cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= <gaetan.harter@fu-berlin.de> Date: Tue, 26 Feb 2019 16:08:20 +0100 Subject: [PATCH] boards/stm32f3discovery: Fix no external low speed crystal The board does not have external low speed crystal. Page 20 of User Manual: 6.10.2 "OSC 32 kHz clock supply" * X3 Crystal (not provided) https://www.st.com/resource/en/user_manual/dm00063382.pdf This fixes `example/default` and makes `tests/periph_rtc` work properly. --- boards/stm32f3discovery/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/stm32f3discovery/include/periph_conf.h b/boards/stm32f3discovery/include/periph_conf.h index 79bd8cad5b..bf7105bac9 100644 --- a/boards/stm32f3discovery/include/periph_conf.h +++ b/boards/stm32f3discovery/include/periph_conf.h @@ -40,7 +40,7 @@ extern "C" { #define CLOCK_HSE (8000000U) /* 0: no external low speed crystal available, * 1: external crystal available (always 32.768kHz) */ -#define CLOCK_LSE (1) +#define CLOCK_LSE (0) /* peripheral clock setup */ #define CLOCK_AHB_DIV RCC_CFGR_HPRE_DIV1 #define CLOCK_AHB (CLOCK_CORECLOCK / 1) -- GitLab