This is the documentation for the latest (master) 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_RANDOM_MAC

Random MAC address

Type: bool

Help

Generate a random MAC address dynamically.

Direct dependencies

ENTROPY_GENERATOR && ETH_STM32_HAL && NET_L2_ETHERNET

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/ethernet/Kconfig.stm32_hal:57

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:18drivers/ethernet/Kconfig:52

Menu path: (Top) → Device Drivers → Ethernet Drivers → STM32 HAL Ethernet driver

config ETH_STM32_HAL_RANDOM_MAC
    bool "Random MAC address"
    default y
    depends on ENTROPY_GENERATOR && ETH_STM32_HAL && NET_L2_ETHERNET
    help
      Generate a random MAC address dynamically.

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