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.
This commit is contained in:
parent
16e4722670
commit
5e58eccd5a
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user