Skip to content

Commit 50407d9

Browse files
committed
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
1 parent 50ef6f4 commit 50407d9

File tree

1 file changed

+1
-0
lines changed
  • libraries/Ethernet/src

1 file changed

+1
-0
lines changed

libraries/Ethernet/src/ETH.h

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262

6363
// This will be uncommented once custom SPI support is available in ESP-IDF
6464
#define ETH_SPI_SUPPORTS_CUSTOM 1
65+
#define ETH_SPI_SUPPORTS_NO_IRQ 1
6566

6667
#include "Network.h"
6768

0 commit comments

Comments
 (0)