Ethernet W5100/ENC gateway compile (not verified).

Remove SPI/ENC/W5100 from embedded libraies.
This commit is contained in:
Henrik Ekblad
2015-10-04 01:25:03 +02:00
parent f11223c88c
commit d71a5d567b
151 changed files with 547 additions and 15825 deletions
@@ -27,11 +27,18 @@
#include "mempool.h"
#define ENC28J60_CONTROL_CS SS
#define ENC28J60_CONTROL_CS SS // this is pin 10 on Uno and pin 53 on Mega256
#if defined(ARDUINO_ARCH_AVR)
// AVR-specific code
#define SPI_MOSI MOSI
#define SPI_MISO MISO
#define SPI_SCK SCK
#define SPI_SS SS
#define ENC28J60_USE_SPILIB 0
#elif defined(ARDUINO_ARCH_SAM)
#define ENC28J60_USE_SPILIB 1
#endif
#define UIP_RECEIVEBUFFERHANDLE 0xff