Merge pull request #2815 from kwagyeman/kwabena/fix_clock_config

ports/stm32: Fix SystemClock_config() hard faulting.
This commit is contained in:
Ibrahim Abdelkader 2025-08-16 10:31:18 +03:00 committed by GitHub
commit 85ab0ebd0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,6 +137,9 @@ int main(void) {
#endif #endif
bool first_soft_reset = true; bool first_soft_reset = true;
// Initialize SysTick.
HAL_InitTick(TICK_INT_PRIORITY);
// Configure PLLs, oscillators, and system/peripheral clocks // Configure PLLs, oscillators, and system/peripheral clocks
SystemClock_Config(); SystemClock_Config();