From 8025e6befb2094a5e25aa14dcfc8348b0451d6c9 Mon Sep 17 00:00:00 2001 From: Jean-Michel Friedt Date: Mon, 4 Jul 2022 11:27:21 +0200 Subject: [PATCH] boards/im880b: im880b board clock definition Signed-off-by: Jean-Michel Friedt --- boards/im880b/include/periph_conf.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/boards/im880b/include/periph_conf.h b/boards/im880b/include/periph_conf.h index 1bd1b771b0..69bbcb99b3 100644 --- a/boards/im880b/include/periph_conf.h +++ b/boards/im880b/include/periph_conf.h @@ -26,6 +26,18 @@ #define CONFIG_BOARD_HAS_LSE 1 #endif +/** + * @brief This board has an HSE clock + */ +#ifndef CONFIG_BOARD_HAS_HSE +#define CONFIG_BOARD_HAS_HSE 1 +#endif + +/** + * @brief Speed of the HSE clock in Hz + */ +#define CLOCK_HSE MHZ(16) + #include "periph_cpu.h" #include "clk_conf.h"