From 4bdb3db0f92f8880f6bdff7aca62345495ecf3c9 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 28 Aug 2020 22:09:10 +0200 Subject: [PATCH] boards/stm32l1: override default LSE in boards where needed --- boards/im880b/include/periph_conf.h | 4 ++-- boards/lobaro-lorabox/include/periph_conf.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/im880b/include/periph_conf.h b/boards/im880b/include/periph_conf.h index 2c330bf3f4..9e9d07af9d 100644 --- a/boards/im880b/include/periph_conf.h +++ b/boards/im880b/include/periph_conf.h @@ -22,8 +22,8 @@ /* * This board provides an LSE, so enable it before including the default clock config */ -#ifndef CLOCK_LSE -#define CLOCK_LSE (1) +#ifndef CONFIG_BOARD_HAS_LSE +#define CONFIG_BOARD_HAS_LSE (1) #endif #include "periph_cpu.h" diff --git a/boards/lobaro-lorabox/include/periph_conf.h b/boards/lobaro-lorabox/include/periph_conf.h index 64c8a47003..5176e8611e 100644 --- a/boards/lobaro-lorabox/include/periph_conf.h +++ b/boards/lobaro-lorabox/include/periph_conf.h @@ -27,8 +27,8 @@ /* * This board provides an LSE, so enable it before including the default clock config */ -#ifndef CLOCK_LSE -#define CLOCK_LSE (1) +#ifndef CONFIG_BOARD_HAS_LSE +#define CONFIG_BOARD_HAS_LSE (1) #endif #include "periph_cpu.h"