stm32/main: Clean up and optimise initial start-up code of the MCU.
This commit is contained in:
@@ -602,13 +602,3 @@ void SystemClock_Config(void)
|
||||
NVIC_SetPriority(SysTick_IRQn, NVIC_EncodePriority(NVIC_PRIORITYGROUP_4, TICK_INT_PRIORITY, 0));
|
||||
#endif
|
||||
}
|
||||
|
||||
void HAL_MspInit(void) {
|
||||
#if defined(STM32F7) || defined(STM32H7)
|
||||
/* Enable I-Cache */
|
||||
SCB_EnableICache();
|
||||
|
||||
/* Enable D-Cache */
|
||||
SCB_EnableDCache();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user