mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 09:21:19 +01:00
boards/stm32: add default tim2 config for stm32g4
This commit is contained in:
parent
ef742cddb2
commit
b06c252a33
@ -37,7 +37,8 @@ static const timer_conf_t timer_config[] = {
|
||||
#else
|
||||
.max = 0xffffffff,
|
||||
#endif
|
||||
#if defined(CPU_FAM_STM32L4) || defined(CPU_FAM_STM32WB)
|
||||
#if defined(CPU_FAM_STM32L4) || defined(CPU_FAM_STM32WB) || \
|
||||
defined(CPU_FAM_STM32G4)
|
||||
.rcc_mask = RCC_APB1ENR1_TIM2EN,
|
||||
#else
|
||||
.rcc_mask = RCC_APB1ENR_TIM2EN,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user