mbed IP library over Ethernet

Dependencies:   Socket lwip-eth lwip-sys lwip

Dependents:   FreedomK64F_CandyMachine

Fork of EthernetInterface by Jose Romero

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Thu May 30 17:16:22 2013 +0100
Parent:
29:52d857c9e3ba
Child:
31:5295c93ff37f
Commit message:
Add LPC4088 target

Changed in this revision

EthernetInterface.h Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterface.h	Tue May 14 13:46:34 2013 +0000
+++ b/EthernetInterface.h	Thu May 30 17:16:22 2013 +0100
@@ -20,7 +20,7 @@
 #ifndef ETHERNETINTERFACE_H_
 #define ETHERNETINTERFACE_H_
 
-#if !defined(TARGET_LPC1768)
+#if !defined(TARGET_LPC1768) && !defined(TARGET_LPC4088)
 #error The Ethernet Interface library is supported only on the mbed NXP LPC1768
 #endif
 
@@ -49,7 +49,7 @@
 
   /** Connect
   * Bring the interface up, start DHCP if needed.
-  * \param   timeout_ms  timeout in ms (default: (10)s).
+  * \param   timeout_ms  timeout in ms (default: (15)s).
   * \return 0 on success, a negative number on failure
   */
   static int connect(unsigned int timeout_ms=15000);