From 50407d91e0266fefba0627540e2d0aa00747c2e8 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Tue, 21 May 2024 15:14:00 +0300 Subject: [PATCH] feat(eth): Enable the possibility to use SPI ETH with only 4 wires This PR enables ETH_SPI_SUPPORTS_NO_IRQ to support connection by only 4 wires (SCK, MISO, MOSI and SS) with IRQ and RESET being set as -1 --- libraries/Ethernet/src/ETH.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/Ethernet/src/ETH.h b/libraries/Ethernet/src/ETH.h index d2404391fbf..f45d02729ac 100644 --- a/libraries/Ethernet/src/ETH.h +++ b/libraries/Ethernet/src/ETH.h @@ -62,6 +62,7 @@ // This will be uncommented once custom SPI support is available in ESP-IDF #define ETH_SPI_SUPPORTS_CUSTOM 1 +#define ETH_SPI_SUPPORTS_NO_IRQ 1 #include "Network.h"