Since STM32CubeF4 Firmware Package v1.27.0:
The following changes done on the HAL drivers require an update of the application code based on older HAL versions
Rework of HAL Ethernet driver to resolve problems and improve performance.(compatibility break)
- A new HAL Ethernet driver has been redesigned with new APIs, to bypass limitations with previous HAL Ethernet driver version.
- The new HAL Ethernet driver is the recommended version. It is located as usual in Drivers/STM32F4xx_HAL_Driver/Src and Drivers/STM32F4xx_HAL_Driver/Inc folders.
- It can be enabled through switch
HAL_ETH_MODULE_ENABLED in stm32f4xx_hal_conf.h
- The legacy HAL Ethernet driver is also present in the release in Drivers/STM32F4xx_HAL_Driver/Src/Legacy and Drivers/STM32F4xx_HAL_Driver/Inc/Legacy folders for software compatibility reasons.
- Its usage is not recommended as deprecated. It can however be enabled through switch
HAL_ETH_LEGACY_MODULE_ENABLED in stm32f4xx_hal_conf.h
Since STM32CubeF4 Firmware Package v1.27.0:
The following changes done on the HAL drivers require an update of the application code based on older HAL versions
Rework of HAL Ethernet driver to resolve problems and improve performance.(compatibility break)
HAL_ETH_MODULE_ENABLEDin stm32f4xx_hal_conf.hHAL_ETH_LEGACY_MODULE_ENABLEDin stm32f4xx_hal_conf.h