-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added support of SPI Ethernet PHY poll mode to ethernet_init co…
…mponent
- Loading branch information
1 parent
e725fff
commit 93368de
Showing
13 changed files
with
134 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.dm9051
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=y | ||
CONFIG_ETHERNET_SPI_NUMBER=1 | ||
CONFIG_ETHERNET_USE_DM9051=y | ||
CONFIG_ETHERNET_USE_KSZ8851SNL=n | ||
CONFIG_ETHERNET_USE_W5500=n |
10 changes: 10 additions & 0 deletions
10
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.dp83848
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=y | ||
|
||
CONFIG_ETHERNET_PHY_IP101=n | ||
CONFIG_ETHERNET_PHY_RTL8201=n | ||
CONFIG_ETHERNET_PHY_LAN87XX=n | ||
CONFIG_ETHERNET_PHY_DP83848=y | ||
CONFIG_ETHERNET_PHY_KSZ80XX=n | ||
CONFIG_ETHERNET_PHY_LAN867X=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=n |
10 changes: 10 additions & 0 deletions
10
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.ip101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=y | ||
|
||
CONFIG_ETHERNET_PHY_IP101=y | ||
CONFIG_ETHERNET_PHY_RTL8201=n | ||
CONFIG_ETHERNET_PHY_LAN87XX=n | ||
CONFIG_ETHERNET_PHY_DP83848=n | ||
CONFIG_ETHERNET_PHY_KSZ80XX=n | ||
CONFIG_ETHERNET_PHY_LAN867X=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=n |
10 changes: 10 additions & 0 deletions
10
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.ksz80xx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=y | ||
|
||
CONFIG_ETHERNET_PHY_IP101=n | ||
CONFIG_ETHERNET_PHY_RTL8201=n | ||
CONFIG_ETHERNET_PHY_LAN87XX=n | ||
CONFIG_ETHERNET_PHY_DP83848=n | ||
CONFIG_ETHERNET_PHY_KSZ80XX=y | ||
CONFIG_ETHERNET_PHY_LAN867X=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=n |
7 changes: 7 additions & 0 deletions
7
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.ksz8851snl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=y | ||
CONFIG_ETHERNET_SPI_NUMBER=1 | ||
CONFIG_ETHERNET_USE_DM9051=n | ||
CONFIG_ETHERNET_USE_KSZ8851SNL=y | ||
CONFIG_ETHERNET_USE_W5500=n |
10 changes: 10 additions & 0 deletions
10
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.lan867x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=y | ||
|
||
CONFIG_ETHERNET_PHY_IP101=n | ||
CONFIG_ETHERNET_PHY_RTL8201=n | ||
CONFIG_ETHERNET_PHY_LAN87XX=n | ||
CONFIG_ETHERNET_PHY_DP83848=n | ||
CONFIG_ETHERNET_PHY_KSZ80XX=n | ||
CONFIG_ETHERNET_PHY_LAN867X=y | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=n |
10 changes: 10 additions & 0 deletions
10
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.lan87xx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=y | ||
|
||
CONFIG_ETHERNET_PHY_IP101=n | ||
CONFIG_ETHERNET_PHY_RTL8201=n | ||
CONFIG_ETHERNET_PHY_LAN87XX=y | ||
CONFIG_ETHERNET_PHY_DP83848=n | ||
CONFIG_ETHERNET_PHY_KSZ80XX=n | ||
CONFIG_ETHERNET_PHY_LAN867X=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=n |
10 changes: 10 additions & 0 deletions
10
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.rtl8201
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=y | ||
|
||
CONFIG_ETHERNET_PHY_IP101=n | ||
CONFIG_ETHERNET_PHY_RTL8201=y | ||
CONFIG_ETHERNET_PHY_LAN87XX=n | ||
CONFIG_ETHERNET_PHY_DP83848=n | ||
CONFIG_ETHERNET_PHY_KSZ80XX=n | ||
CONFIG_ETHERNET_PHY_LAN867X=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=n |
7 changes: 7 additions & 0 deletions
7
ethernet_init/examples/simple-ethernet/sdkconfig.defaults.w5500
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CONFIG_ETHERNET_INTERNAL_SUPPORT=n | ||
|
||
CONFIG_ETHERNET_SPI_SUPPORT=y | ||
CONFIG_ETHERNET_SPI_NUMBER=1 | ||
CONFIG_ETHERNET_USE_DM9051=n | ||
CONFIG_ETHERNET_USE_KSZ8851SNL=n | ||
CONFIG_ETHERNET_USE_W5500=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
dependencies: | ||
idf: | ||
version: '>=5.0' | ||
version: '>=5.1' | ||
lan867x: | ||
override_path: "../lan867x" | ||
description: This component initializes Ethernet driver based on Espressif IoT Development Framework Configuration. | ||
url: https://github.com/espressif/esp-eth-drivers/tree/master/ethernet_init | ||
version: 0.1.0 | ||
version: 0.1.1 |