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

drivers: ethernet: stm32: Remove support for deprecated API #73208

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions drivers/ethernet/Kconfig.stm32_hal
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ choice ETH_STM32_HAL_API_VERSION
prompt "STM32Cube HAL Ethernet version"

config ETH_STM32_HAL_API_V2
bool "Use new HAL driver"
bool "Use official STM32Cube HAL driver"
depends on SOC_SERIES_STM32H7X || SOC_SERIES_STM32H5X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X
help
Use the new HAL driver instead of the legacy one.
Use the official STM32Cube HAL driver instead of the legacy one.

config ETH_STM32_HAL_API_V1
bool "Use legacy HAL driver"
depends on !SOC_SERIES_STM32H5X
select DEPRECATED if SOC_SERIES_STM32H7X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X
bool "Use legacy STM32Cube HAL driver"
depends on SOC_SERIES_STM32F1X || SOC_SERIES_STM32F2X
help
Driver version based on legacy HAL version. Deprecated unless using STM32F2 series.
Driver version based on legacy HAL version as the current official API version.
Available only for STM32F1 and STM32F2 SoC series.

endchoice

Expand Down
Loading