modify for blynk

Fork of WIZnetInterface by WIZnet

Revision:
28:200e63e513a8
Parent:
27:1169973d836c
Child:
29:c91884bd2713
diff -r 1169973d836c -r 200e63e513a8 arch/int/W7500x_toe.cpp
--- 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
 
+