2021-07-14 07:37:47 +00:00
|
|
|
menu "esp_eth TEST_APPS Configuration"
|
|
|
|
|
2022-11-08 16:54:39 +00:00
|
|
|
choice TARGET_ETH_CONFIG
|
2021-07-14 07:37:47 +00:00
|
|
|
prompt "Ethernet peripheral device"
|
2022-11-08 16:54:39 +00:00
|
|
|
default TARGET_USE_INTERNAL_ETHERNET
|
2021-07-14 07:37:47 +00:00
|
|
|
help
|
2022-11-08 16:54:39 +00:00
|
|
|
Select type of Ethernet interface.
|
|
|
|
|
|
|
|
config TARGET_USE_INTERNAL_ETHERNET
|
|
|
|
depends on SOC_EMAC_SUPPORTED
|
|
|
|
select ETH_USE_ESP32_EMAC
|
|
|
|
bool "Internal EMAC"
|
|
|
|
help
|
|
|
|
Use internal Ethernet MAC controller.
|
|
|
|
|
|
|
|
config TARGET_USE_SPI_ETHERNET
|
|
|
|
bool "SPI Ethernet"
|
|
|
|
select ETH_USE_SPI_ETHERNET
|
|
|
|
help
|
|
|
|
Use external SPI-Ethernet module(s).
|
|
|
|
endchoice # TARGET_ETH_CONFIG
|
|
|
|
|
|
|
|
if TARGET_USE_INTERNAL_ETHERNET
|
|
|
|
choice TARGET_ETH_PHY_DEVICE
|
|
|
|
prompt "Ethernet PHY"
|
|
|
|
default TARGET_ETH_PHY_DEVICE_IP101
|
|
|
|
help
|
|
|
|
Select one of the devices listed here
|
|
|
|
|
|
|
|
config TARGET_ETH_PHY_DEVICE_IP101
|
|
|
|
bool "IP101"
|
|
|
|
config TARGET_ETH_PHY_DEVICE_LAN87XX
|
|
|
|
bool "LAN8720"
|
|
|
|
config TARGET_ETH_PHY_DEVICE_KSZ80XX
|
|
|
|
bool "KSZ80xx"
|
|
|
|
config TARGET_ETH_PHY_DEVICE_RTL8201
|
|
|
|
bool "RTL8201"
|
|
|
|
config TARGET_ETH_PHY_DEVICE_DP83848
|
|
|
|
bool "DP83848"
|
|
|
|
endchoice # TARGET_ETH_PHY_DEVICE
|
|
|
|
endif # TARGET_USE_INTERNAL_ETHERNET
|
|
|
|
|
|
|
|
if TARGET_USE_SPI_ETHERNET
|
|
|
|
choice TARGET_ETH_SPI_DEVICE
|
|
|
|
prompt "Ethernet SPI Module"
|
|
|
|
default TARGET_ETH_PHY_DEVICE_W5500
|
|
|
|
help
|
|
|
|
Select one of the devices listed here
|
|
|
|
|
|
|
|
config TARGET_ETH_PHY_DEVICE_W5500
|
|
|
|
bool "W5500"
|
|
|
|
select ETH_SPI_ETHERNET_W5500
|
|
|
|
config TARGET_ETH_PHY_DEVICE_KSZ8851SNL
|
|
|
|
bool "KSZ8851SNL"
|
|
|
|
select ETH_SPI_ETHERNET_KSZ8851SNL
|
|
|
|
config TARGET_ETH_PHY_DEVICE_DM9051
|
|
|
|
bool "DM9051"
|
|
|
|
select ETH_SPI_ETHERNET_DM9051
|
|
|
|
endchoice # TARGET_ETH_SPI_DEVICE
|
|
|
|
|
|
|
|
config TARGET_SPI_CLOCK_MHZ
|
|
|
|
int "SPI clock speed (MHz)"
|
|
|
|
range 5 80
|
|
|
|
default 12
|
|
|
|
help
|
|
|
|
Set the clock speed (MHz) of SPI interface.
|
|
|
|
|
|
|
|
endif # TARGET_USE_SPI_ETHERNET
|
2021-07-14 07:37:47 +00:00
|
|
|
|
|
|
|
endmenu
|