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:
14:3d3ad63396b2
Parent:
12:931deec14b08
diff -r 8e34c2cbce5d -r 3d3ad63396b2 lwipopts.h
--- a/lwipopts.h	Mon Nov 04 09:00:09 2013 +0000
+++ b/lwipopts.h	Mon Dec 09 15:15:09 2013 +0000
@@ -48,7 +48,11 @@
 // 32-bit alignment
 #define MEM_ALIGNMENT               4
 
+#if defined(TARGET_LPC4088)
+#define MEM_SIZE                    15360
+#else
 #define MEM_SIZE                    16362
+#endif
 
 #define PBUF_POOL_SIZE              5
 #define MEMP_NUM_TCP_PCB_LISTEN     4