My project work fine with STM32CubeMX v5.0.1.I upgraded to v5.1.0, It generated code miss something.My project detail: stm32f103cbt6 + freertos,SYS -> Timebase Source: TIM1-----Generated code stm32f1xx_it.c missing a line: HAL_TIM_IRQHandler(&htim1);...