-
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.
Direct dependencies¶
(BOARD_SAM4E_XPRO
&& NETWORKING
&& (SHIELD_ESP_8266
|| SHIELD_ESP_8266_ARDUINO
|| SHIELD_ESP_8266_MIKROBUS
)) || (BOARD_FRDM_K64F
&& IEEE802154
&& SHIELD_FRDM_CR20A
) || (BOARD_FRDM_K64F
&& NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)) || (BOARD_NUCLEO_F767ZI
&& NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)) || (NETWORKING
&& SHIELD_LINK_BOARD_ETH
) || (NETWORKING
&& SHIELD_MIKROE_ETH_CLICK
) || (NETWORKING
&& BOARD_ATSAME54_XPRO
) || (NETWORKING
&& BOARD_EFM32GG_SLWSTK6121A
) || (NETWORKING
&& BOARD_EFM32GG_STK3701A
) || (NETWORKING
&& BOARD_FRDM_K64F
) || (NETWORKING
&& BOARD_IP_K66F
) || (NETWORKING
&& BOARD_MIMXRT1020_EVK
) || (NETWORKING
&& (BOARD_MIMXRT1050_EVK
|| BOARD_MIMXRT1050_EVK_QSPI
)) || (NETWORKING
&& (BOARD_MIMXRT1060_EVK
|| BOARD_MIMXRT1060_EVK_HYPERFLASH
)) || (NETWORKING
&& BOARD_MIMXRT1064_EVK
) || (NETWORKING
&& BOARD_NUCLEO_F207ZG
) || (NETWORKING
&& BOARD_NUCLEO_F429ZI
) || (NETWORKING
&& BOARD_NUCLEO_F746ZG
) || (NETWORKING
&& BOARD_NUCLEO_F756ZG
) || (NETWORKING
&& BOARD_NUCLEO_F767ZI
) || (NETWORKING
&& BOARD_NUCLEO_H723ZG
) || (NETWORKING
&& BOARD_NUCLEO_H743ZI
) || (NETWORKING
&& (BOARD_NUCLEO_H745ZI_Q_M7
|| BOARD_NUCLEO_H745ZI_Q_M4
)) || (NETWORKING
&& BOARD_SAM_E70_XPLAINED
) || (NETWORKING
&& BOARD_SAM_V71_XULT
) || (NETWORKING
&& BOARD_STM32F746G_DISCO
) || (NETWORKING
&& BOARD_STM32F769I_DISCO
) || (NETWORKING
&& (BOARD_STM32H747I_DISCO_M7
|| BOARD_STM32H747I_DISCO_M4
)) || (NETWORKING
&& BOARD_NATIVE_POSIX
) || (BOARD_SAM4E_XPRO
&& NETWORKING
&& (SHIELD_ESP_8266
|| SHIELD_ESP_8266_ARDUINO
|| SHIELD_ESP_8266_MIKROBUS
)) || (BOARD_FRDM_K64F
&& IEEE802154
&& SHIELD_FRDM_CR20A
) || (BOARD_FRDM_K64F
&& NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)) || (BOARD_NUCLEO_F767ZI
&& NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
|| SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)) || (NETWORKING
&& SHIELD_LINK_BOARD_ETH
) || (NETWORKING
&& SHIELD_MIKROE_ETH_CLICK
) || (NETWORKING
&& SOC_SERIES_SAM4E
) || NETWORKING
(Includes any dependencies from ifs and menus.)
Defaults¶
n
n
n
n
y
y
y
y
y
y if !
MODEM
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y if !
NET_LOOPBACK
&& !NET_TEST
n
n
n
n
y
y
y
Symbols that select this symbol¶
Kconfig definitions¶
At <Zephyr>/boards/shields/esp_8266/boards/sam4e_xpro.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:17
→ <BuildDir>/Kconfig/Kconfig.shield.defconfig:1
→ <Zephyr>/boards/shields/esp_8266/Kconfig.defconfig:19
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_SAM4E_XPRO
&&NETWORKING
&& (SHIELD_ESP_8266
||SHIELD_ESP_8266_ARDUINO
||SHIELD_ESP_8266_MIKROBUS
)
At <Zephyr>/boards/shields/frdm_cr20a/boards/frdm_k64f.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:17
→ <BuildDir>/Kconfig/Kconfig.shield.defconfig:1
→ <Zephyr>/boards/shields/frdm_cr20a/Kconfig.defconfig:20
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_FRDM_K64F
&&IEEE802154
&&SHIELD_FRDM_CR20A
At <Zephyr>/boards/shields/inventek_eswifi/boards/frdm_k64f.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:17
→ <BuildDir>/Kconfig/Kconfig.shield.defconfig:1
→ <Zephyr>/boards/shields/inventek_eswifi/Kconfig.defconfig:14
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_FRDM_K64F
&&NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)
At <Zephyr>/boards/shields/inventek_eswifi/boards/nucleo_f767zi.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:17
→ <BuildDir>/Kconfig/Kconfig.shield.defconfig:1
→ <Zephyr>/boards/shields/inventek_eswifi/Kconfig.defconfig:14
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_NUCLEO_F767ZI
&&NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)
At <Zephyr>/boards/shields/link_board_eth/Kconfig.defconfig:11
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:17
→ <BuildDir>/Kconfig/Kconfig.shield.defconfig:1
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&SHIELD_LINK_BOARD_ETH
At <Zephyr>/boards/shields/mikroe_eth_click/Kconfig.defconfig:12
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:17
→ <BuildDir>/Kconfig/Kconfig.shield.defconfig:1
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&SHIELD_MIKROE_ETH_CLICK
At <Zephyr>/boards/arm/atsame54_xpro/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_ATSAME54_XPRO
At <Zephyr>/boards/arm/efm32gg_slwstk6121a/Kconfig.defconfig:35
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_EFM32GG_SLWSTK6121A
At <Zephyr>/boards/arm/efm32gg_stk3701a/Kconfig.defconfig:31
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_EFM32GG_STK3701A
At <Zephyr>/boards/arm/frdm_k64f/Kconfig.defconfig:33
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y if !MODEM
depends onNETWORKING
&&BOARD_FRDM_K64F
At <Zephyr>/boards/arm/ip_k66f/Kconfig.defconfig:25
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_IP_K66F
At <Zephyr>/boards/arm/mimxrt1020_evk/Kconfig.defconfig:17
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_MIMXRT1020_EVK
At <Zephyr>/boards/arm/mimxrt1050_evk/Kconfig.defconfig:44
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&& (BOARD_MIMXRT1050_EVK
||BOARD_MIMXRT1050_EVK_QSPI
)
At <Zephyr>/boards/arm/mimxrt1060_evk/Kconfig.defconfig:41
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&& (BOARD_MIMXRT1060_EVK
||BOARD_MIMXRT1060_EVK_HYPERFLASH
)
At <Zephyr>/boards/arm/mimxrt1064_evk/Kconfig.defconfig:40
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_MIMXRT1064_EVK
At <Zephyr>/boards/arm/nucleo_f207zg/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_NUCLEO_F207ZG
At <Zephyr>/boards/arm/nucleo_f429zi/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_NUCLEO_F429ZI
At <Zephyr>/boards/arm/nucleo_f746zg/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_NUCLEO_F746ZG
At <Zephyr>/boards/arm/nucleo_f756zg/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_NUCLEO_F756ZG
At <Zephyr>/boards/arm/nucleo_f767zi/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_NUCLEO_F767ZI
At <Zephyr>/boards/arm/nucleo_h723zg/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_NUCLEO_H723ZG
At <Zephyr>/boards/arm/nucleo_h743zi/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_NUCLEO_H743ZI
At <Zephyr>/boards/arm/nucleo_h745zi_q/Kconfig.defconfig:37
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&& (BOARD_NUCLEO_H745ZI_Q_M7
||BOARD_NUCLEO_H745ZI_Q_M4
)
At <Zephyr>/boards/arm/sam_e70_xplained/Kconfig.defconfig:35
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_SAM_E70_XPLAINED
At <Zephyr>/boards/arm/sam_v71_xult/Kconfig.defconfig:38
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_SAM_V71_XULT
At <Zephyr>/boards/arm/stm32f746g_disco/Kconfig.defconfig:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_STM32F746G_DISCO
At <Zephyr>/boards/arm/stm32f769i_disco/Kconfig.defconfig:17
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&BOARD_STM32F769I_DISCO
At <Zephyr>/boards/arm/stm32h747i_disco/Kconfig.defconfig:43
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&& (BOARD_STM32H747I_DISCO_M7
||BOARD_STM32H747I_DISCO_M4
)
At <Zephyr>/boards/posix/native_posix/Kconfig.defconfig:20
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y if !NET_LOOPBACK
&& !NET_TEST
depends onNETWORKING
&&BOARD_NATIVE_POSIX
At <Zephyr>/boards/shields/esp_8266/boards/sam4e_xpro.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
→ <Zephyr>/boards/shields/esp_8266/Kconfig.defconfig:19
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_SAM4E_XPRO
&&NETWORKING
&& (SHIELD_ESP_8266
||SHIELD_ESP_8266_ARDUINO
||SHIELD_ESP_8266_MIKROBUS
)
At <Zephyr>/boards/shields/frdm_cr20a/boards/frdm_k64f.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
→ <Zephyr>/boards/shields/frdm_cr20a/Kconfig.defconfig:20
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_FRDM_K64F
&&IEEE802154
&&SHIELD_FRDM_CR20A
At <Zephyr>/boards/shields/inventek_eswifi/boards/frdm_k64f.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
→ <Zephyr>/boards/shields/inventek_eswifi/Kconfig.defconfig:14
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_FRDM_K64F
&&NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)
At <Zephyr>/boards/shields/inventek_eswifi/boards/nucleo_f767zi.defconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
→ <Zephyr>/boards/shields/inventek_eswifi/Kconfig.defconfig:14
Menu path: (Top)
config NET_L2_ETHERNET bool default n depends onBOARD_NUCLEO_F767ZI
&&NETWORKING
&& (SHIELD_INVENTEK_ESWIFI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
||SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
)
At <Zephyr>/boards/shields/link_board_eth/Kconfig.defconfig:11
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&SHIELD_LINK_BOARD_ETH
At <Zephyr>/boards/shields/mikroe_eth_click/Kconfig.defconfig:12
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:18
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&SHIELD_MIKROE_ETH_CLICK
At <Zephyr>/soc/arm/atmel_sam/sam4e/Kconfig.defconfig.series:43
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arm/atmel_sam/Kconfig.defconfig:6
Menu path: (Top)
config NET_L2_ETHERNET bool default y depends onNETWORKING
&&SOC_SERIES_SAM4E
At <Zephyr>/subsys/net/l2/ethernet/Kconfig:4
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:37
→ <Zephyr>/subsys/net/Kconfig:85
→ <Zephyr>/subsys/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.)