diff --git a/ports/stm32/main.c b/ports/stm32/main.c index 1bfda089e..a3f631aaf 100644 --- a/ports/stm32/main.c +++ b/ports/stm32/main.c @@ -137,6 +137,9 @@ int main(void) { #endif bool first_soft_reset = true; + // Initialize SysTick. + HAL_InitTick(TICK_INT_PRIORITY); + // Configure PLLs, oscillators, and system/peripheral clocks SystemClock_Config();