HAL_ChibiOS: optionally disable DCache on H7
This commit is contained in:
parent
46cb506a22
commit
e581be8df7
@ -225,6 +225,9 @@ void __early_init(void) {
|
|||||||
stm32_gpio_init();
|
stm32_gpio_init();
|
||||||
#endif
|
#endif
|
||||||
stm32_clock_init();
|
stm32_clock_init();
|
||||||
|
#if defined(HAL_DISABLE_DCACHE)
|
||||||
|
SCB_DisableDCache();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void __late_init(void) {
|
void __late_init(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user