Hello everyone, i have a feather m0 wifi board and an Ethernet featherWing, i tried to build a simple sketch with
#include <Ethernet2.h>
#include <WiFi101.h>
but i have some error about some conflicting name between those library.
In file included from Arduino\libraries\Ethernet2-master\src/Ethernet2.h:14:0,
from \Desktop\sketch_eth\sketch_eth.ino:4:
\Arduino\libraries\Ethernet2-master\src/utility/w5500.h:24:17: error: conflicting declaration 'typedef uint8_t SOCKET'
typedef uint8_t SOCKET;
^
In file included from \Arduino\libraries\arduino_822283\src/WiFiClient.h:28:0,
from \Documents\Arduino\libraries\arduino_822283\src/WiFi101.h:35,
from \Desktop\sketch_eth\sketch_eth.ino:1:
\Documents\Arduino\libraries\arduino_822283\src/socket/include/socket.h:542:16: error: 'SOCKET' has a previous declaration as 'typedef sint8 SOCKET'
typedef sint8 SOCKET;
^
exit status 1
Errore durante la compilazione per la scheda Adafruit Feather M0.
how can i work with the libraries together?
Thanks a lot!