W5500-Ethernet-Interface Makers / W5500Interface

Dependents:   EvrythngApi Websocket_Ethernet_HelloWorld_W5500 Websocket_Ethernet_W5500 CurrentWeatherData_W5500 ... more

Issue: Socket redeclaration in mbed os...

I get the following message in the online compiler when importing the library and using mbed os 5:

Error: Invalid redeclaration of type name "Socket" (declared at <a href="#" onmousedown="mbed_doc_goto('/rmsens2-v011extras/mbed-os.lib/features/netsocket/Socket.h', '32'); return false;">/extras/mbed-os.lib/features/netsocket/Socket.h:32</a>) in "WIZnet_Library/WIZnetInterface/Socket/Socket.h", Line: 30, Col: 8

I take it that this library has not been updated to run with mbed os 5 or? Should it instead implement the EthernetInterface as a driver?

How is the proposed way of using external ethernet boards over SPI with mbed os 5?

3 comments:

30 Jun 2017

I have the same question. Thank you.

11 Jun 2020

I also have the same question. Trying to use Seeed Studio Ethernet shield with W5500 on top of a Nordic nRF52840-DK. Compile error: Error[Pe256]: invalid redeclaration of type name "Socket" (declared at line 39 of "...\mbed-os\features\netsocket/Socket.h") ...\W5500Interface\Socket\Socket.h 30

Is anyone maintaining this library anymore ? Previous question is almost 3 years old with no answer. Thanks

08 Dec 2022 This post is awaiting moderation

Same problem here. Now I understand why the W5500 was very cheap..