12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- menu "Network Manager Configuration"
-
-
- menu "Ethernet Options"
- visible if BASIC_I2C_BT && (ETH_USE_ESP32_EMAC || ETH_USE_SPI_ETHERNET)
- choice
- prompt "Ethernet Chipset"
- default ETH_NODRIVER
- config ETH_NODRIVER
- bool "Defined in NVS"
- config ETH_LAN8720
- bool "Microchip LAN8720 (RMII)"
- config ETH_DM9051
- bool "Davicom 9051 (SPI)"
- config ETH_W5500
- bool "WIZnet 5500 (SPI)"
- endchoice
- comment "LAN8720 is an RMII interface and most of the required GPIOs aren't user selectable. They are defined as follow tx_en=21, tx0=19, tx1=22, rx0=25, rx1=26, crs_dv=27"
- depends on ETH_LAN8720
- config ETH_PHY_RST_IO
- int "PHY Reset GPIO number" if !ETH_NODRIVER
- default -1
- help
- Set the GPIO number used to reset PHY chip.
- Set to -1 to disable PHY chip hardware reset.
- config ETH_MDC_IO
- int "SMI MDC GPIO number" if ETH_LAN8720
- default -1
- help
- Set the GPIO number used by SMI MDC.
- config ETH_MDIO_IO
- int "SMI MDIO GPIO number" if ETH_LAN8720
- default -1
- help
- Set the GPIO number used by SMI MDIO.
- config ETH_SPI_HOST
- int "SPI host number (-1,1 or 2)" if ETH_DM9051 || ETH_W5500
- default -1
- help
- Set to -1 to use system's SPI config (see Various I/O)
- Set to 2 or 3 to use a dedicated bus
- config ETH_SPI_INTR_IO
- int "interrupt" if ETH_DM9051 || ETH_W5500
- default -1
- config ETH_SPI_CS_IO
- int "Chip Select" if ETH_DM9051 || ETH_W5500
- default -1
- config ETH_SPI_CLK_IO
- int "SPI clock" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
- default -1
- config ETH_SPI_MOSI_IO
- int "Data Out" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
- default -1
- config ETH_SPI_MISO_IO
- int "Data In" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
- default -1
- config ETH_SPI_SPEED
- int "SPI speed (Hz)" if ETH_SPI_HOST != -1 && (ETH_DM9051 || ETH_W5500)
- default 20000000
- endmenu
- endmenu
|