Ethernet W5100/ENC gateway compile (not verified).
Remove SPI/ENC/W5100 from embedded libraies.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#include <SPI.h>
|
||||
#include <UIPEthernet.h>
|
||||
|
||||
// Enter a MAC address and IP address for your controller below.
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
* Adaption to Enc28J60 by Norbert Truchsess <norbert.truchsess@t-online.de>
|
||||
*/
|
||||
|
||||
#include <SPI.h>
|
||||
#include <UIPEthernet.h>
|
||||
// The connection_data struct needs to be defined in an external file.
|
||||
#include <UIPServer.h>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* Copyright (C) 2013 by Norbert Truchsess <norbert.truchsess@t-online.de>
|
||||
*/
|
||||
|
||||
#include <SPI.h>
|
||||
#include <UIPEthernet.h>
|
||||
|
||||
EthernetClient client;
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
* Adaption to Enc28J60 by Norbert Truchsess <norbert.truchsess@t-online.de>
|
||||
*/
|
||||
|
||||
#include <SPI.h>
|
||||
#include <UIPEthernet.h>
|
||||
|
||||
EthernetServer server = EthernetServer(1000);
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* Copyright (C) 2013 by Norbert Truchsess (norbert.truchsess@t-online.de)
|
||||
*/
|
||||
|
||||
#include <SPI.h>
|
||||
#include <UIPEthernet.h>
|
||||
|
||||
EthernetUDP udp;
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* Copyright (C) 2013 by Norbert Truchsess (norbert.truchsess@t-online.de)
|
||||
*/
|
||||
|
||||
#include <SPI.h>
|
||||
#include <UIPEthernet.h>
|
||||
|
||||
EthernetUDP udp;
|
||||
|
||||
Reference in New Issue
Block a user