HAL_ChibiOS: optionally disable DCache on H7

This commit is contained in:
Andrew Tridgell 2019-02-10 08:52:29 +11:00
parent 46cb506a22
commit e581be8df7

View File

@ -225,6 +225,9 @@ void __early_init(void) {
stm32_gpio_init();
#endif
stm32_clock_init();
#if defined(HAL_DISABLE_DCACHE)
SCB_DisableDCache();
#endif
}
void __late_init(void) {