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 Soohwan Kim

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/)

https://developer.mbed.org/media/cache/platforms/WIZwiki_W7500_enabled.JPG.250x250_q85.jpg

https://developer.mbed.org/media/cache/platforms/WIZwiki_W7500P_enabled2.JPG.250x250_q85.jpg

https://developer.mbed.org/media/cache/platforms/WIZwiki_W7500ECO_enabled2.JPG.250x250_q85.jpg

https://developer.mbed.org/media/cache/components/components/fetch.phpmediaoshw5500_ethernet_shieldw5500_main_picture2.png.200x200_q85.jpg

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

Files at this revision

API Documentation at this revision

Comitter:
embeddist
Date:
Thu Oct 29 13:29:46 2015 +0000
Parent:
27:1169973d836c
Child:
29:c91884bd2713
Commit message:
-Added defined TARGET_WIZwiki_W7500ECO ; -Fixed defined TARGET_WIZwiki_W7500P@eth_arch.h;

Changed in this revision

EthernetInterface.cpp Show annotated file Show diff for this revision Revisions of this file
EthernetInterface.h Show annotated file Show diff for this revision Revisions of this file
arch/ext/W5500.cpp Show annotated file Show diff for this revision Revisions of this file
arch/int/W7500x_toe.cpp Show annotated file Show diff for this revision Revisions of this file
eth_arch.h Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterface.cpp	Mon Oct 05 05:44:39 2015 +0000
+++ b/EthernetInterface.cpp	Thu Oct 29 13:29:46 2015 +0000
@@ -19,7 +19,7 @@
 #include "EthernetInterface.h"
 #include "DHCPClient.h"
 
-#if (not defined TARGET_WIZwiki_W7500) && (not defined TARGET_WIZwiki_W7500P)
+#if (not defined TARGET_WIZwiki_W7500) && (not defined TARGET_WIZwiki_W7500P) && (not defined TARGET_WIZwiki_W7500ECO)
 EthernetInterface::EthernetInterface(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset) :
         WIZnet_Chip(mosi, miso, sclk, cs, reset)
 {
--- a/EthernetInterface.h	Mon Oct 05 05:44:39 2015 +0000
+++ b/EthernetInterface.h	Thu Oct 29 13:29:46 2015 +0000
@@ -24,7 +24,7 @@
 class EthernetInterface: public WIZnet_Chip {
 public:
 
-#if (not defined TARGET_WIZwiki_W7500) && (not defined TARGET_WIZwiki_W7500P)
+#if (not defined TARGET_WIZwiki_W7500) && (not defined TARGET_WIZwiki_W7500P) && (not defined TARGET_WIZwiki_W7500ECO)
 
     /**
     * Constructor
--- a/arch/ext/W5500.cpp	Mon Oct 05 05:44:39 2015 +0000
+++ b/arch/ext/W5500.cpp	Thu Oct 29 13:29:46 2015 +0000
@@ -16,7 +16,8 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 #include "eth_arch.h"
-#if (not defined TARGET_WIZwiki_W7500) && (not defined TARGET_WIZwiki_W7500P)
+#if (not defined TARGET_WIZwiki_W7500) && (not defined TARGET_WIZwiki_W7500P) && (not defined TARGET_WIZwiki_W7500ECO)
+
 
 
 #include "mbed.h"
--- a/arch/int/W7500x_toe.cpp	Mon Oct 05 05:44:39 2015 +0000
+++ b/arch/int/W7500x_toe.cpp	Thu Oct 29 13:29:46 2015 +0000
@@ -15,7 +15,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 #include "eth_arch.h"
-#if defined(TARGET_WIZwiki_W7500) || defined(TARGET_WIZwiki_W7500P)
+#if defined(TARGET_WIZwiki_W7500) || defined(TARGET_WIZwiki_W7500P) || defined(TARGET_WIZwiki_W7500ECO)
 
 
 #include "mbed.h"
@@ -31,7 +31,7 @@
  * called by ethernet_link() and ethernet_set_link()
  */
  
-#if defined TARGET_WIZwiki_W7500
+#if defined (TARGET_WIZwiki_W7500) || defined(TARGET_WIZwiki_W7500ECO)
 
 #define MDIO    		GPIO_Pin_14
 #define MDC     		GPIO_Pin_15
@@ -46,7 +46,7 @@
 #define CNTL_SPEED      (0x01ul<<12)
 #define MDC_WAIT        (1)
 
-#elif TARGET_WIZwiki_W7500P
+#elif defined (TARGET_WIZwiki_W7500P) 
 
 #define MDIO    		GPIO_Pin_15
 #define MDC     		GPIO_Pin_14
@@ -174,7 +174,7 @@
 	// set PAD strengh and pull-up for TXD[3:0] and TXE 
 #ifdef __DEF_USED_IC101AG__ //For using IC+101AG
 
-#if defined(TARGET_WIZwiki_W7500)
+#if defined(TARGET_WIZwiki_W7500) || defined(TARGET_WIZwiki_W7500ECO)
 
 	*(volatile uint32_t *)(0x41003068) = 0x64; //TXD0 
 	*(volatile uint32_t *)(0x4100306C) = 0x64; //TXD1
@@ -557,3 +557,4 @@
 
 #endif
 
+
--- a/eth_arch.h	Mon Oct 05 05:44:39 2015 +0000
+++ b/eth_arch.h	Thu Oct 29 13:29:46 2015 +0000
@@ -19,14 +19,16 @@
 
 #pragma once
 
-#if defined(TARGET_WIZwiki_W7500) || defined(TARGET_WIZwiki_W7500P)
-
+#if defined(TARGET_WIZwiki_W7500) || defined(TARGET_WIZwiki_W7500ECO)
 
 #include "W7500x_toe.h"
 #define __DEF_USED_IC101AG__  //For using IC+101AG@WIZwiki-W7500
 
+#elif defined(TARGET_WIZwiki_W7500P)
+
+#include "W7500x_toe.h"
+
 #else
-
 #include "W5500.h"            // W5500 Ethernet Shield 
 //#define USE_WIZ550IO_MAC    // WIZ550io; using the MAC address