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
Fork of lwip by
Revision 16:f159c25d9261, committed 2014-02-13
- Comitter:
- aos
- Date:
- Thu Feb 13 17:57:50 2014 +0000
- Parent:
- 15:5737291d43a8
- Commit message:
- Update the heap memory size
Changed in this revision
lwipopts.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/lwipopts.h Sun Feb 02 10:46:40 2014 +0000 +++ b/lwipopts.h Thu Feb 13 17:57:50 2014 +0000 @@ -51,7 +51,7 @@ #define MEM_ALIGNMENT 4 //#define MEM_SIZE 16362 -#define MEM_SIZE (8 * 1024) +#define MEM_SIZE (9 * 1024) #define PBUF_POOL_SIZE 5 //#define PBUF_POOL_SIZE 16