arch/arm/src/stm32/hardware: Add stm32g4 rcc apb1 timer enable compatibility

This commit is contained in:
liuxuanfu 2023-03-23 20:07:21 +08:00 committed by Alan Carvalho de Assis
parent 50cf84c99a
commit 945e4c6d81
1 changed files with 5 additions and 0 deletions

View File

@ -674,4 +674,9 @@
#define RCC_APB1ENR_UART4EN RCC_APB1ENR1_UART4EN
#define RCC_APB1ENR_UART5EN RCC_APB1ENR1_UART5EN
#define RCC_APB1ENR_TIM2EN RCC_APB1ENR1_TIM2EN
#define RCC_APB1ENR_TIM3EN RCC_APB1ENR1_TIM3EN
#define RCC_APB1ENR_TIM4EN RCC_APB1ENR1_TIM4EN
#define RCC_APB1ENR_TIM5EN RCC_APB1ENR1_TIM5EN
#endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32G4XXXX_RCC_H */