mirror of https://github.com/ARMmbed/mbed-os.git
DISCO_H747I_CM4 compilation issue
SCB_DisableDCache() function is only available for M7 core.pull/12415/head
parent
69a7d67699
commit
0c8add6e28
|
@ -64,8 +64,10 @@ void HAL_ETH_MspInit(ETH_HandleTypeDef *heth)
|
|||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct;
|
||||
if (heth->Instance == ETH) {
|
||||
#if defined(CORE_CM7)
|
||||
/* Disable DCache for STM32H7 family */
|
||||
SCB_DisableDCache();
|
||||
#endif
|
||||
|
||||
/* GPIO Ports Clock Enable */
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
|
|
Loading…
Reference in New Issue