stmhal: Enable I & D caches for M7
This commit is contained in:
parent
3179d23cee
commit
c6f1d47dcb
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue