1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

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:
Gaëtan Harter 2019-02-26 16:08:20 +01:00
parent 16e4722670
commit 5e58eccd5a
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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)