1. Reduce the size of the heap memory to reduce the amount of memory usage 2. Change the TCP segment size 3. Disable UDP + DHCP + DNS 4. Change the configurations of the TCP/IP thread
Dependencies: Socket lwip-eth lwip-sys lwip
Fork of EthernetInterface by
Revision 30:4d7d7dc8485f, committed 2013-05-30
- 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);