lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] LWIP - memory usage configuration - HELPME!!


From: Piero 74
Subject: [lwip-users] LWIP - memory usage configuration - HELPME!!
Date: Fri, 23 Nov 2007 12:39:36 +0100

Hi all.

Can someone help me to understand options in opt.h (LWIPopt.h) which change memory usage?

what are limits for each option? (for example NOT LESS THAN...)
How each option is connected to others? (for example: options for sequential API and options for tcp and udp connections... )
can i change pbuf options? (PBUF_POOL_BUFSIZE..... )

in particular, i want to understand how reduce the following variables:
 - ram
 - memp_memory
 - pbuf_pool_memory

depending on number of simultanely connections (TCP, TCP LISTENER, UDP) (i have to use socket for apllication porting reasons)


Correct me if i'm wrong:

the total memory depends on 3 things:

- memory for low level driver, where MAC layer puts ethernet frames
- memory for LWIP (the above discussion)
- memory for application task, which use sequential API and needs a owner buffers

is it true?

PLEASE HELP ME!
i'm working on an example which use:
- LWIP (1.1.1.. but i will update to 1.2.0) (ported from GNU to IAR)
- FRERTOS FOR ARM7 (lpc2368 microcontroller)
- lpc2368 EMAC driver

i'm having a lot of problem, and i have to reduce memory usage...
and at the last (....) i have to understand how to use lwip!!!

Bye,
Piero



reply via email to

[Prev in Thread] Current Thread [Next in Thread]