Question
CubeMX and SysTick
Posted on February 02, 2018 at 16:09
Why does CubeMX generate the following lines in SystemClock_Config if the HAL timer is set to anything other than SysTick?
HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/1000);
/**Configure the Systick
*/HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);/* SysTick_IRQn interrupt configuration */
HAL_NVIC_SetPriority(SysTick_IRQn, 0, 0);I'm having to comment these lines out as they are interfering with my code and they shouldn't be there in my opinion.
