kopia lustrzana https://github.com/espressif/esp-idf
28 wiersze
844 B
Plaintext
28 wiersze
844 B
Plaintext
# Restricting to ESP32
|
|
CONFIG_IDF_TARGET="esp32"
|
|
|
|
# Configure lwIP and NETIF to enable Bridge
|
|
CONFIG_ESP_NETIF_TCPIP_LWIP=y
|
|
CONFIG_ESP_NETIF_BRIDGE_EN=y
|
|
|
|
CONFIG_LWIP_NUM_NETIF_CLIENT_DATA=1
|
|
|
|
# Configure network interface
|
|
# CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET is not set
|
|
CONFIG_EXAMPLE_USE_SPI_ETHERNET=y
|
|
CONFIG_EXAMPLE_SPI_ETHERNETS_NUM=2
|
|
# CONFIG_EXAMPLE_USE_DM9051 is not set
|
|
# CONFIG_EXAMPLE_USE_KSZ8851SNL is not set
|
|
CONFIG_EXAMPLE_USE_W5500=y
|
|
CONFIG_EXAMPLE_ETH_SPI_HOST=1
|
|
CONFIG_EXAMPLE_ETH_SPI_SCLK_GPIO=14
|
|
CONFIG_EXAMPLE_ETH_SPI_MOSI_GPIO=13
|
|
CONFIG_EXAMPLE_ETH_SPI_MISO_GPIO=12
|
|
CONFIG_EXAMPLE_ETH_SPI_CLOCK_MHZ=20
|
|
CONFIG_EXAMPLE_ETH_SPI_CS0_GPIO=15
|
|
CONFIG_EXAMPLE_ETH_SPI_CS1_GPIO=32
|
|
CONFIG_EXAMPLE_ETH_SPI_INT0_GPIO=4
|
|
CONFIG_EXAMPLE_ETH_SPI_INT1_GPIO=33
|
|
CONFIG_EXAMPLE_ETH_SPI_PHY_RST0_GPIO=-1
|
|
CONFIG_EXAMPLE_ETH_SPI_PHY_RST1_GPIO=-1
|