This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ETH_STM32_HAL

STM32 HAL Ethernet driver

Type: bool

Help

Enable STM32 HAL based Ethernet driver. It is available for
all Ethernet enabled variants of the F2, F4, F7 and H7 series.

Direct dependencies

NET_L2_ETHERNET

(Includes any dependencies from ifs and menus.)

Default

  • y if n

Kconfig definition

At drivers/ethernet/Kconfig.stm32_hal:9

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20drivers/ethernet/Kconfig:52

Menu path: (Top) → Device Drivers → Ethernet Drivers

menuconfig ETH_STM32_HAL
    bool "STM32 HAL Ethernet driver"
    default y if n
    select USE_STM32_HAL_ETH
    select NOCACHE_MEMORY if SOC_SERIES_STM32H7X && CPU_CORTEX_M7
    depends on NET_L2_ETHERNET
    help
      Enable STM32 HAL based Ethernet driver. It is available for
      all Ethernet enabled variants of the F2, F4, F7 and H7 series.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)