1. Reduce the size of the heap memory 2. Change the TCP segment size 3. Disable UDP + DHCP + DNS 4. Change the configuration of the TCP/IP thread

Dependents:   EthernetInterface

Fork of lwip by mbed official

Revision:
8:f9d0ac9dd036
Parent:
6:00bf89892c76
Child:
9:5bba32bf3eb6
diff -r 00bf89892c76 -r f9d0ac9dd036 lwipopts.h
--- a/lwipopts.h	Mon Jul 23 11:52:35 2012 +0000
+++ b/lwipopts.h	Fri Mar 01 15:31:54 2013 +0000
@@ -59,6 +59,11 @@
 #define LWIP_DHCP                   1
 #define LWIP_DNS                    1
 
+// Support Multicast
+#include "stdlib.h"
+#define LWIP_IGMP                   1
+#define LWIP_RAND()                 rand()
+
 #define LWIP_COMPAT_SOCKETS         0
 #define LWIP_POSIX_SOCKETS_IO_NAMES 0
 #define LWIP_SO_RCVTIMEO            1
@@ -117,6 +122,7 @@
 
 #define LWIP_NETIF_HOSTNAME         1
 #define LWIP_NETIF_STATUS_CALLBACK  1
+#define LWIP_NETIF_LINK_CALLBACK    1
 
 #elif LWIP_TRANSPORT_PPP