Resolved! HAL geniuses, how does this work?
Posted on June 16, 2017 at 23:56From the STM32F412G-DISCO demouint32_t HAL_GetTick(void){ return (DWT->CYCCNT / (HAL_RCC_GetHCLKFreq() / 1000)) ;}How exactly does this wrap properly within the 32-bit number space? Answer: IT DOESN'T