I am trying to use HAL TIM2 features on an STM32F405 board with STM Core 2.0.0.
But I keep getting multiple definitions for TIM2_IRQHandler and the HAL_TIM_PeriodElapsedCallback. I try to disable it via build_opt.h file with "-DHAL_TIM_MODULE_ONLY", but they are still included in the core. I know my build options are recognized because if I include "-DHAL_TIM_MODULE_DISABLED" the modules are completely removed.
What am I doing wrong?
How to disable HardwareTimers
Re: How to disable HardwareTimers
Disregard. I believe it is associated with needing to restart the IDE so the system forces a complete rebuild.
So, now my question is, how can you force the rebuild without restarting the IDE?
So, now my question is, how can you force the rebuild without restarting the IDE?