This is Library using WIZnet Hardware TCP/IP chip, W5500 and WIZnet TCP/IP Offload Engine, W7500.
Dependents: HTTP_SDcard_file_server_WIZwiki-W7500 SSD1306_smart_watch TCPEchoServer-WIZwiki-W7500 httpServer-WIZwiki-W7500 ... more
Fork of WIZnetInterface by
This is WIZnet Ethernet Interface using Hardware TCP/IP chip, W5500 and TCP/IP Offload Engine, W7500.
[Users » embeddist » Code » WIZnetInterface](https://developer.mbed.org/users/embeddist/code/WIZnetInterface/) -> WIZnetInterface Lib will be released on [Team WIZnet](https://developer.mbed.org/teams/WIZnet/)
- WIZwiki_W7500 : /platforms/WIZwiki-W7500/

- WIZwiki_W7500P : /platforms/WIZwiki-W7500P/

- WIZwiki_W7500ECO : /platforms/WIZwiki-W7500ECO/

- W5500 Ethernet Shield : /components/W5500-Ethernet-Kit-for-IoT/

This library is an Ethernet Interface library port-based on [EthernetInterface](https://developer.mbed.org/users/mbed_official/code/EthernetInterface/docs/tip/).
For more detail, visit http://embeddist.blogspot.kr/2015/06/wiznetinterface-for-armmbed.html
Revision 7:da6fcec0f3fe, committed 2015-06-15
- Comitter:
- embeddist
- Date:
- Mon Jun 15 23:43:56 2015 +0000
- Parent:
- 6:94a81e80c675
- Child:
- 8:4c02de1dbf3a
- Commit message:
- changed eth_arch.h; * to select arch depending on TargetPlatfom automatically
Changed in this revision
--- a/EthernetInterface.cpp Mon Jun 15 22:44:54 2015 +0900
+++ b/EthernetInterface.cpp Mon Jun 15 23:43:56 2015 +0000
@@ -18,6 +18,8 @@
#include "EthernetInterface.h"
#include "DHCPClient.h"
+
+#if not defined(TARGET_WIZwiki_W7500)
EthernetInterface::EthernetInterface(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset) :
WIZnet_Chip(mosi, miso, sclk, cs, reset)
{
@@ -29,7 +31,7 @@
{
ip_set = false;
}
-
+#endif
int EthernetInterface::init(uint8_t * mac)
{
--- a/EthernetInterface.h Mon Jun 15 22:44:54 2015 +0900
+++ b/EthernetInterface.h Mon Jun 15 23:43:56 2015 +0000
@@ -23,10 +23,10 @@
*/
class EthernetInterface: public WIZnet_Chip {
public:
-
+#if not defined(TARGET_WIZwiki_W7500)
EthernetInterface(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset);
EthernetInterface(SPI* spi, PinName cs, PinName reset);
-
+#endif
/** Initialize the interface with DHCP.
* Initialize the interface and configure it to use DHCP (no connection at this point).
* \return 0 on success, a negative number on failure
--- a/eth_arch.h Mon Jun 15 22:44:54 2015 +0900 +++ b/eth_arch.h Mon Jun 15 23:43:56 2015 +0000 @@ -19,19 +19,20 @@ #pragma once -//#define USE_W7500 // used WIZwiki_W7500 -#define USE_W5500 // used W5500 Ethernet Shield & WIZ550io +#if defined(TARGET_WIZwiki_W7500) +#include "W7500x_toe.h" +#define __DEF_USED_IC101AG__ //For using IC+101AG@WIZwiki-W7500 -#if defined(USE_W5500) -#include "W5500.h" -//#define USE_WIZ550IO_MAC // using the MAC address stored in the WIZ550io -#endif +#else -#if defined(USE_W7500) -#include "W7500x_toe.h" -#define __DEF_USED_IC101AG__ //For using IC+101AG@WIZwiki-W7500 +#include "W5500.h" // W5500 Ethernet Shield +//#define USE_WIZ550IO_MAC // WIZ550io; using the MAC address + #endif + + +

Network-Shield W5500
M0-Switch WIZnet W7500
Serial-to-Ethernet Controller WIZ750SR