Skip to content

Commit

Permalink
drivers: ethernet: stm32: Remove deprecated API support on impacted s…
Browse files Browse the repository at this point in the history
…eries

In release V3.3 new STM32Cube HAL ethernet API was added to STM32 ethernet
driver for STM32F4, STM32F7 and STM32H7 series. At the same time, the
legacy API was deprecated for these series.
I'm now fully removing the legacy API support for these series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
  • Loading branch information
erwango committed May 27, 2024
1 parent fa716d9 commit 068639c
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit 068639c

Please sign in to comment.