Commit c6f1d47d authored by Dave Hylands's avatar Dave Hylands
Browse files

stmhal: Enable I & D caches for M7

parent 3179d23c
......@@ -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
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment