From 6de1045f0130232106d11c4beeb77fee20fd82cb Mon Sep 17 00:00:00 2001 From: Ondrej Kosta Date: Mon, 16 Sep 2024 09:28:26 +0200 Subject: [PATCH] fix(esp_eth): fixed SPI ETH GPIO to align with latest ESP32-P4-Function-EV-Board --- .../ethernet/basic/components/ethernet_init/Kconfig.projbuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ethernet/basic/components/ethernet_init/Kconfig.projbuild b/examples/ethernet/basic/components/ethernet_init/Kconfig.projbuild index 8722181eec..33d33b7cfe 100644 --- a/examples/ethernet/basic/components/ethernet_init/Kconfig.projbuild +++ b/examples/ethernet/basic/components/ethernet_init/Kconfig.projbuild @@ -169,7 +169,7 @@ menu "Example Ethernet Configuration" default 13 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3 default 2 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32C6 default 0 if IDF_TARGET_ESP32H2 - default 52 if IDF_TARGET_ESP32P4 + default 24 if IDF_TARGET_ESP32P4 help Set the GPIO number used by SPI MISO. @@ -187,7 +187,7 @@ menu "Example Ethernet Configuration" default 10 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32C2 default 3 if IDF_TARGET_ESP32C6 default 1 if IDF_TARGET_ESP32H2 - default 53 if IDF_TARGET_ESP32P4 + default 21 if IDF_TARGET_ESP32P4 help Set the GPIO number used by SPI CS0, i.e. Chip Select associated with the first SPI Eth module).