Solved
Package for STM32F1 Series 1.8.0 trouble
Use this "STM32Cube Package for STM32F1 Series 1.8.0" ,
This statement:
__HAL_TIM_SET_CAPTUREPOLARITY(htim,TIM_CHANNEL_2,TIM_INPUTCHANNELPOLARITY_FALLING);
is wrong. Tips: ../Src/freertos.c(417): error: #53: expected a ":"
but in 1.7.0, it is Correct. why?
