We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f60bb83 commit 7b5ee58Copy full SHA for 7b5ee58
src/utility/w5100.h
@@ -40,6 +40,15 @@
40
#define SPI_ETHERNET_SETTINGS SPISettings(8000000, MSBFIRST, SPI_MODE0)
41
#endif
42
43
+// Arduino Zero can't use W5100-based shields faster than 8 MHz
44
+// https://github.com/arduino-libraries/Ethernet/issues/37#issuecomment-408036848
45
+// W5500 does seem to work at 12 MHz. Delete this if only using W5500
46
+#if defined(__SAMD21G18A__)
47
+#undef SPI_ETHERNET_SETTINGS
48
+#define SPI_ETHERNET_SETTINGS SPISettings(8000000, MSBFIRST, SPI_MODE0)
49
+#endif
50
+
51
52
typedef uint8_t SOCKET;
53
54
class SnMR {
0 commit comments