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
Diff: netif/ppp/lcp.c
- Revision:
- 4:f71f5d9d5846
- Parent:
- 0:51ac1d130fd4
--- a/netif/ppp/lcp.c Fri Jun 22 13:39:39 2012 +0000 +++ b/netif/ppp/lcp.c Fri Jun 22 15:08:59 2012 +0000 @@ -107,7 +107,7 @@ static u32_t lcp_echo_timer_running = 0; /* TRUE if a timer is running */ /* @todo: do we really need such a large buffer? The typical 1500 bytes seem too much. */ -static u_char nak_buffer[PPP_MRU]; /* where we construct a nak packet */ +static u_char nak_buffer[PPP_MRU] __attribute((section("AHBSRAM1"))); /* where we construct a nak packet */ /* * Callbacks for fsm code. (CI = Configuration Information)