From fc644cc2c2b3a4fdb56f6ade4f7911357c327e6f Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Wed, 22 Apr 2020 13:59:08 +0200 Subject: [PATCH] boards/nucleo-f413zh: use common rtt config --- boards/nucleo-f413zh/include/periph_conf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boards/nucleo-f413zh/include/periph_conf.h b/boards/nucleo-f413zh/include/periph_conf.h index f0b2436e92..046fa56a83 100644 --- a/boards/nucleo-f413zh/include/periph_conf.h +++ b/boards/nucleo-f413zh/include/periph_conf.h @@ -24,6 +24,7 @@ #include "periph_cpu.h" #include "f4/cfg_clock_100_8_1.h" #include "cfg_i2c1_pb8_pb9.h" +#include "cfg_rtt_default.h" #include "cfg_timer_tim5.h" #include "cfg_usb_otg_fs.h" @@ -217,8 +218,9 @@ static const spi_conf_t spi_config[] = { * @name RTT configuration * @{ */ +#ifndef RTT_FREQUENCY #define RTT_FREQUENCY (4096) -#define RTT_MAX_VALUE (0xffff) +#endif /** @} */ #ifdef __cplusplus