Artemis redboard and Ethernet.

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.

I can’t figure how to resolve that issue :? But I would suggest that you should leave a GitHub issue so their engineers have better visibility of the bug and can work on it when they are able to.

I think this is related to or the same as this issue:

https://github.com/sparkfun/Arduino_Apollo3/issues/244

I expect this will be resolved with the launch of the v2.0.0 core

thank you. The soultion was in fact to copy the client.h, server.h and udp.h files from the arduino app.

I was using version 2,0 but they still werent there.

Glad it is working for you. You will find that those files are included in the core api here:

https://github.com/arduino/ArduinoCore- … 5b3ac3/api

This is included as a submodule in the v2.0.0 branch