Timer Interrupt Not Working
Thanks very much @RandallStockberger. I have been pulling my hair over this for the last 4 days.
There is already an extern C around the void TIM4_IRQHandler(void) declaration in stm32f1xx_it.h
- ifdef __cplusplus
extern "C" {
- endif
/* Includes
/* Exported types
/* Exported constants
/* Exported macro
/* Exported functions
void SysTick_Handler(void);
void TIM4_IRQHandler(void);
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim);
- ifdef __cplusplus
}
- endif