port: stm32: f4/f7: enable ICU drivers, enable ICU for TIM2

This commit is contained in:
Andrey Gusakov 2022-10-02 11:35:13 +03:00 committed by Andrey
parent 12aeefa1ea
commit de1189cf86
3 changed files with 3 additions and 3 deletions

View File

@ -178,7 +178,7 @@
* ICU driver system settings.
*/
#define STM32_ICU_USE_TIM1 FALSE
#define STM32_ICU_USE_TIM2 FALSE
#define STM32_ICU_USE_TIM2 TRUE
#define STM32_ICU_USE_TIM3 FALSE
#define STM32_ICU_USE_TIM4 FALSE
#define STM32_ICU_USE_TIM5 FALSE

View File

@ -73,7 +73,7 @@
* @brief Enables the ICU subsystem.
*/
#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
#define HAL_USE_ICU FALSE
#define HAL_USE_ICU TRUE
#endif
/**

View File

@ -71,7 +71,7 @@
* @brief Enables the ICU subsystem.
*/
#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
#define HAL_USE_ICU FALSE
#define HAL_USE_ICU TRUE
#endif
/**