EthernetInterface in mbed OS5 with lan8720

Thank you Johannes for sharing this info! I have spent a lot of time trying to fix that, however with no success.
I don’t know how to turn the autonegotiation off by modifying the ‘stm32f4_eth_conf.c’ file. But after changing the ‘mbed-os\features\netsocket\emac-drivers\TARGET_STM\stm32f4xx_emac.cpp’ file (Edit: ‘stm32f4xx_hal_eth.c’ was a mistake) as below the LAN8720 started to work with my STM32F407VET6 like a charm:

bool STM32_EMAC::low_level_init_successful()
#ifndef ETH_IP_VERSION_V2
{
    /* Init ETH */
    uint8_t MACAddr[6];
    EthHandle.Instance = ETH;
    //EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE;
    EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_DISABLE;
    EthHandle.Init.Speed = ETH_SPEED_100M;
...
}

Best regards, Zoltan