while developing my app using the redboard Qwiic, I quickly hit the flash memory limit wall and need to upgrade to an Artemis redboard. Seems like a no-brainer, but when I try and build using the Arduino IDE (on macOS) it complains…
→ candidates:
Multiple libraries were found for “Ethernet.h”
In file included from /Users/vinnie/Documents/Arduino/chickencoop/chickencoop.ino:3:
Used: /Users/vinnie/Documents/Arduino/libraries/Ethernet
Not used: /Applications/Arduino.app/Contents/Java/libraries/Ethernet
/Users/vinnie/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:52:10: fatal error: Client.h: No such file or directory
#include “Client.h”
^~~~~~~~~~
compilation terminated.
I have seen this before, It seems that the Ethernet library version 2,0 make a reference to a “Client.h”
but when you build it for an Ardunio:Uno it seems to figure it out …
but if you select Redboard Artimus you will have no joy?
Here is an easy way to repro the problem…
macos - launch the arduino IDE
select Examples->Ethernet->Link Status
select Tools BoardManager->Avr Arduino Uno
verify the build – works OK
now switch to Tools BoardManager->Sparkfun Apollo 3 → Redboard Artimus
verify and it will fail as above?
any ideas what is going on? I suspect there are multiple versions of the Ethernet library lying around.
better question, what is the best way to get an Artemis to work with Qwiic and Ethernet? or am I still on the correct path.