Skip to content
Snippets Groups Projects
Commit c6f1d47d authored by Dave Hylands's avatar Dave Hylands
Browse files

stmhal: Enable I & D caches for M7

parent 3179d23c
No related branches found
No related tags found
No related merge requests found
......@@ -316,3 +316,13 @@ void SystemClock_Config(void)
RCC->DCKCFGR2 = 0;
#endif
}
void HAL_MspInit(void) {
#if defined(MCU_SERIES_F7)
/* Enable I-Cache */
SCB_EnableICache();
/* Enable D-Cache */
SCB_EnableDCache();
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment