boards/stm32l1: override default LSE in boards where needed
This commit is contained in:
parent
67a1c029b4
commit
4bdb3db0f9
@ -22,8 +22,8 @@
|
|||||||
/*
|
/*
|
||||||
* This board provides an LSE, so enable it before including the default clock config
|
* This board provides an LSE, so enable it before including the default clock config
|
||||||
*/
|
*/
|
||||||
#ifndef CLOCK_LSE
|
#ifndef CONFIG_BOARD_HAS_LSE
|
||||||
#define CLOCK_LSE (1)
|
#define CONFIG_BOARD_HAS_LSE (1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "periph_cpu.h"
|
#include "periph_cpu.h"
|
||||||
|
|||||||
@ -27,8 +27,8 @@
|
|||||||
/*
|
/*
|
||||||
* This board provides an LSE, so enable it before including the default clock config
|
* This board provides an LSE, so enable it before including the default clock config
|
||||||
*/
|
*/
|
||||||
#ifndef CLOCK_LSE
|
#ifndef CONFIG_BOARD_HAS_LSE
|
||||||
#define CLOCK_LSE (1)
|
#define CONFIG_BOARD_HAS_LSE (1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "periph_cpu.h"
|
#include "periph_cpu.h"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user