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 <Zephyr>/drivers/ethernet/Kconfig.stm32_hal:52

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:20<Zephyr>/drivers/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.)