From 22645cbfe444f4b0f1d95c9655dbb7df742a3a14 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 28 Sep 2020 17:01:11 +0200 Subject: [PATCH] boards/stm32: adapt tim5 default config for stm32l5 --- boards/common/stm32/include/cfg_timer_tim5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/common/stm32/include/cfg_timer_tim5.h b/boards/common/stm32/include/cfg_timer_tim5.h index 528e6f61a4..5f44ef71d9 100644 --- a/boards/common/stm32/include/cfg_timer_tim5.h +++ b/boards/common/stm32/include/cfg_timer_tim5.h @@ -33,7 +33,7 @@ static const timer_conf_t timer_config[] = { { .dev = TIM5, .max = 0xffffffff, -#if defined(CPU_FAM_STM32G4) +#if defined(CPU_FAM_STM32G4) || defined(CPU_FAM_STM32L5) .rcc_mask = RCC_APB1ENR1_TIM5EN, #else .rcc_mask = RCC_APB1ENR_TIM5EN,