feat(protocol_examples_common): Use Ethernet Init component

- Refactored protocol_examples_common to use ethernet_init component
This commit is contained in:
glmfe
2025-11-20 18:57:03 +08:00
committed by Ondrej Kosta
parent ad29ffc78f
commit e187d3b259
64 changed files with 317 additions and 379 deletions
@@ -1,5 +1,12 @@
# L2 TAP currently supports Ethernet only
CONFIG_EXAMPLE_CONNECT_ETHERNET=y
CONFIG_ETHERNET_INTERNAL_SUPPORT=y
CONFIG_ETHERNET_PHY_GENERIC=y
CONFIG_ETHERNET_MDC_GPIO=23
CONFIG_ETHERNET_MDIO_GPIO=18
CONFIG_ETHERNET_PHY_RST_GPIO=5
CONFIG_ETHERNET_PHY_ADDR=1
CONFIG_ETHERNET_SPI_SUPPORT=n
CONFIG_EXAMPLE_CONNECT_WIFI=n
# Enable L2 TAP