Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F4 HAL Ethernet module change (compatibility break) #61

Open
fpistm opened this issue Apr 11, 2022 · 1 comment
Open

STM32F4 HAL Ethernet module change (compatibility break) #61

fpistm opened this issue Apr 11, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@fpistm
Copy link
Member

fpistm commented Apr 11, 2022

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
@fpistm fpistm changed the title STM32F4 HAL Ethernet module change. STM32F4 HAL Ethernet module change (compatibility break) Apr 11, 2022
@fpistm
Copy link
Member Author

fpistm commented May 16, 2022

To avoid breaking compatibility with new HAL driver, HAL legacy support has been added to the core: stm32duino/Arduino_Core_STM32#1710

While this issue is not implemented, legacy driver will be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant