Open yusuf81 opened 3 years ago
I faced the same issue; using this minute change to aREST.h will fix the problem:
576c576
< #elif defined(ethernet_h_)
---
> #elif defined(ethernet_h_) || defined(UIPETHERNET_H)
1554c1554
< #if defined(ADAFRUIT_CC3000_H) || defined(ESP8266) || defined(ethernet_h_) || defined(WiFi_h)
---
> #if defined(ADAFRUIT_CC3000_H) || defined(ESP8266) || defined(ethernet_h_) || defined(UIPETHERNET_H) || defined(WiFi_h)
Hello @marcoschwartz ,
When I use aREST with standard ethernet.h at uno, everything working smoothly (only minor problem with memory constraint at uno). Today I want to miniaturize all my board using nano, so I moved to enc ENC28J60 ethernet module and use UIPEthernet library, when I compile it it spit error message. Is there anything to tweak when use UIP?, because it's said on UIP website it's drop-in replacement for ethernet library.
Here the error message:
Here the source code (the error is in "rest.handle(client);" line):