Skip to content

Commit e8343f2

Browse files
committed
fix(esp_eth): fixed SPI ETH GPIO to align with latest ESP32-P4-Function-EV-Board
1 parent bd38d80 commit e8343f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ethernet/basic/components/ethernet_init/Kconfig.projbuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ menu "Example Ethernet Configuration"
171171
default 13 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
172172
default 2 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32C6
173173
default 0 if IDF_TARGET_ESP32H2
174-
default 52 if IDF_TARGET_ESP32P4
174+
default 24 if IDF_TARGET_ESP32P4
175175
default 9 if IDF_TARGET_ESP32C5
176176
help
177177
Set the GPIO number used by SPI MISO.
@@ -190,7 +190,7 @@ menu "Example Ethernet Configuration"
190190
default 10 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32C2
191191
default 3 if IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C5
192192
default 1 if IDF_TARGET_ESP32H2
193-
default 53 if IDF_TARGET_ESP32P4
193+
default 21 if IDF_TARGET_ESP32P4
194194
help
195195
Set the GPIO number used by SPI CS0, i.e. Chip Select associated with the first SPI Eth module).
196196

0 commit comments

Comments
 (0)