Open andholz opened 7 years ago
if there is a Arduino port for the SAMD21 and a lib with the "standard" arduino network classes for the WINC1500 porting will be easy, only some defines and you are done.
basics are listet here: https://github.com/Links2004/arduinoWebSockets/issues/197#issuecomment-304502156
feel free to create a pull request if you get it working. if you run in some problems in the process fell free to ask here.
Unfortunately it looks like the SAMD Arduino Core doesn't link libstdc++ by default for some reason. This prevents the library from building right out of the box for anyone using the Adafruit or Arduino SAMD cores.
I went into my platform.txt and added it to my linker flags. This got arduinoWebSockets building but even after setting up the Client and Server classes it doesn't seem to work. I think the Wifi101 implementation might not act quite like the Arduino API.
This will probably need attention from someone who knows what they are doing.
Any chance to add SAMD21 Cortex-M0+ Support? The M0 + WINC1500 like on the Adafruit Feather and MKR1000 are very good for some projects. Would be great to add WS support... Cheers!