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:
12:931deec14b08
Parent:
11:4b3f6f8b92d2
Child:
14:3d3ad63396b2
Child:
15:5737291d43a8
diff -r 4b3f6f8b92d2 -r 931deec14b08 lwipopts.h
--- a/lwipopts.h	Mon Aug 19 18:37:54 2013 +0300
+++ b/lwipopts.h	Tue Sep 10 15:14:39 2013 +0300
@@ -27,6 +27,8 @@
 #if NO_SYS == 0
 #include "cmsis_os.h"
 
+#define SYS_LIGHTWEIGHT_PROT        1
+
 #define LWIP_RAW                    0
 
 #define TCPIP_MBOX_SIZE             8
@@ -99,6 +101,7 @@
 #define MEMP_OVERFLOW_CHECK         1
 #define MEMP_SANITY_CHECK           1
 #else
+#define LWIP_NOASSERT               1
 #define LWIP_STATS                  0
 #endif