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
Diff: lwipopts_conf.h
- Revision:
- 36:5118a7657c6d
- Parent:
- 3:f5776537f27f
--- a/lwipopts_conf.h Wed Oct 09 12:00:18 2013 +0100 +++ b/lwipopts_conf.h Sun Feb 02 10:46:57 2014 +0000 @@ -21,4 +21,20 @@ #define LWIP_TRANSPORT_ETHERNET 1 +#define LWIP_UDP 0 +#define LWIP_UDPLITE 0 + +#define LWIP_STATS 0 + +#define LWIP_ARP 1 +#define ARP_TABLE_SIZE 10 +#define ARP_QUEUEING 1 +#define ETHARP_TRUST_IP_MAC 1 + +#define IP_FORWARD 0 +#define IP_OPTIONS_ALLOWED 1 +#define IP_REASSEMBLY 0 +#define IP_FRAG 0 +#define IP_DEFAULT_TTL 255 + #endif