From a72d87e16f9eb2c5ead03eb2e3c6adc255fb61fb Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Tue, 24 Jan 2023 00:32:21 +0100 Subject: [PATCH] boards/seeedstudio-gd32: add periph_rtt support --- boards/seeedstudio-gd32/include/periph_conf.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/boards/seeedstudio-gd32/include/periph_conf.h b/boards/seeedstudio-gd32/include/periph_conf.h index 49f1267d9b..4f941ad273 100644 --- a/boards/seeedstudio-gd32/include/periph_conf.h +++ b/boards/seeedstudio-gd32/include/periph_conf.h @@ -19,11 +19,7 @@ #ifndef PERIPH_CONF_H #define PERIPH_CONF_H -#include "periph_cpu.h" -#include "periph_common_conf.h" - -#include "cfg_timer_default.h" -#include "cfg_uart_default.h" +#include "macros/units.h" #ifndef CONFIG_BOARD_HAS_HXTAL #define CONFIG_BOARD_HAS_HXTAL 1 /**< The board provides a high frequency oscillator. */ @@ -37,6 +33,12 @@ #define CONFIG_CLOCK_HXTAL MHZ(8) /**< HXTAL frequency */ #endif +#include "periph_cpu.h" +#include "periph_common_conf.h" + +#include "cfg_timer_default.h" +#include "cfg_uart_default.h" + #ifdef __cplusplus extern "C" { #endif