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_NET_L2_ETHERNET

Enable Ethernet support

Type: bool

Help

Add support for Ethernet, enabling selecting relevant hardware drivers. If NET_SLIP_TAP is selected, NET_L2_ETHERNET will enable to fully simulate Ethernet through SLIP.

Defaults

Symbols that select this symbol

Kconfig definitions

At boards/shields/esp_8266/boards/sam4e_xpro.defconfig:8

Included via Kconfig:8Kconfig.zephyr:23boards/shields/esp_8266/Kconfig.defconfig:19

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default n
    depends on BOARD_SAM4E_XPRO && NETWORKING && (SHIELD_ESP_8266 || SHIELD_ESP_8266_ARDUINO || SHIELD_ESP_8266_MIKROBUS)

At boards/shields/frdm_cr20a/boards/frdm_k64f.defconfig:8

Included via Kconfig:8Kconfig.zephyr:23boards/shields/frdm_cr20a/Kconfig.defconfig:20

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default n
    depends on BOARD_FRDM_K64F && IEEE802154 && SHIELD_FRDM_CR20A

At boards/shields/link_board_eth/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:23

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && SHIELD_LINK_BOARD_ETH

At boards/shields/mikroe_eth_click/Kconfig.defconfig:12

Included via Kconfig:8Kconfig.zephyr:23

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && SHIELD_MIKROE_ETH_CLICK

At boards/arm/atsame54_xpro/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_ATSAME54_XPRO

At boards/arm/efm32gg_stk3701a/Kconfig.defconfig:24

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_EFM32GG_STK3701A

At boards/arm/frdm_k64f/Kconfig.defconfig:53

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y if !MODEM
    depends on NETWORKING && BOARD_FRDM_K64F

At boards/arm/ip_k66f/Kconfig.defconfig:25

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_IP_K66F

At boards/arm/mimxrt1020_evk/Kconfig.defconfig:21

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_MIMXRT1020_EVK

At boards/arm/mimxrt1050_evk/Kconfig.defconfig:48

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && (BOARD_MIMXRT1050_EVK || BOARD_MIMXRT1050_EVK_QSPI)

At boards/arm/mimxrt1060_evk/Kconfig.defconfig:45

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && (BOARD_MIMXRT1060_EVK || BOARD_MIMXRT1060_EVK_HYPERFLASH)

At boards/arm/mimxrt1064_evk/Kconfig.defconfig:44

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_MIMXRT1064_EVK

At boards/arm/nucleo_f207zg/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_NUCLEO_F207ZG

At boards/arm/nucleo_f429zi/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_NUCLEO_F429ZI

At boards/arm/nucleo_f746zg/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_NUCLEO_F746ZG

At boards/arm/nucleo_f756zg/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_NUCLEO_F756ZG

At boards/arm/nucleo_f767zi/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_NUCLEO_F767ZI

At boards/arm/nucleo_h745zi_q/Kconfig.defconfig:38

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && (BOARD_NUCLEO_H745ZI_Q_M7 || BOARD_NUCLEO_H745ZI_Q_M4)

At boards/arm/sam4e_xpro/Kconfig.defconfig:25

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_SAM4E_XPRO

At boards/arm/sam_e70_xplained/Kconfig.defconfig:34

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_SAM_E70_XPLAINED

At boards/arm/sam_v71_xult/Kconfig.defconfig:38

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_SAM_V71_XULT

At boards/arm/stm32f746g_disco/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_STM32F746G_DISCO

At boards/arm/stm32f769i_disco/Kconfig.defconfig:17

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && BOARD_STM32F769I_DISCO

At boards/posix/native_posix/Kconfig.defconfig:20

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y if !NET_LOOPBACK && !NET_TEST
    depends on NETWORKING && BOARD_NATIVE_POSIX

At boards/shields/esp_8266/boards/sam4e_xpro.defconfig:8

Included via Kconfig:8Kconfig.zephyr:24boards/shields/esp_8266/Kconfig.defconfig:19

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default n
    depends on BOARD_SAM4E_XPRO && NETWORKING && (SHIELD_ESP_8266 || SHIELD_ESP_8266_ARDUINO || SHIELD_ESP_8266_MIKROBUS)

At boards/shields/frdm_cr20a/boards/frdm_k64f.defconfig:8

Included via Kconfig:8Kconfig.zephyr:24boards/shields/frdm_cr20a/Kconfig.defconfig:20

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default n
    depends on BOARD_FRDM_K64F && IEEE802154 && SHIELD_FRDM_CR20A

At boards/shields/link_board_eth/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && SHIELD_LINK_BOARD_ETH

At boards/shields/mikroe_eth_click/Kconfig.defconfig:12

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config NET_L2_ETHERNET
    bool
    default y
    depends on NETWORKING && SHIELD_MIKROE_ETH_CLICK

At subsys/net/l2/ethernet/Kconfig:4

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:32subsys/net/Kconfig:85subsys/net/l2/Kconfig:69

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options

menuconfig NET_L2_ETHERNET
    bool "Enable Ethernet support"
    depends on NETWORKING
    help
      Add support for Ethernet, enabling selecting relevant hardware drivers.
      If NET_SLIP_TAP is selected, NET_L2_ETHERNET will enable to fully
      simulate Ethernet through SLIP.

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