F7: enable ICache and DCache
This commit is contained in:
parent
e436878594
commit
44170fe61d
|
@ -35,6 +35,11 @@ int main(void)
|
|||
//Used by FreeRTOS, see http://www.freertos.org/RTOS-Cortex-M3-M4.html
|
||||
#ifdef NVIC_PRIORITYGROUP_4
|
||||
HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
|
||||
#endif
|
||||
|
||||
#ifdef STM32F7
|
||||
SCB_EnableICache();
|
||||
SCB_EnableDCache();
|
||||
#endif
|
||||
|
||||
init();
|
||||
|
|
Loading…
Reference in New Issue