From f92139509db86ca5e6609b7b63669566d4a5a975 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 29 Mar 2019 18:32:50 +0100 Subject: [PATCH] boards/nucleo-l476rg: use common rtt configuration --- boards/nucleo-l476rg/include/periph_conf.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/boards/nucleo-l476rg/include/periph_conf.h b/boards/nucleo-l476rg/include/periph_conf.h index 33130f0b91..24c11565a9 100644 --- a/boards/nucleo-l476rg/include/periph_conf.h +++ b/boards/nucleo-l476rg/include/periph_conf.h @@ -27,6 +27,7 @@ #include "periph_cpu.h" #include "cfg_i2c1_pb8_pb9.h" +#include "cfg_rtt_default.h" #ifdef __cplusplus extern "C" { @@ -268,17 +269,6 @@ static const spi_conf_t spi_config[] = { } /** @} */ -/** - * @name RTT configuration - * - * On the STM32Lx platforms, we always utilize the LPTIM1. - * @{ - */ -#define RTT_NUMOF (1) -#define RTT_FREQUENCY (1024U) /* 32768 / 2^n */ -#define RTT_MAX_VALUE (0x0000ffff) /* 16-bit timer */ -/** @} */ - /** * @name RTC configuration * @{