----- Original Message -----
Sent: Sunday, November 25, 2007 7:30
PM
Subject: [lwip-users] NOANSWERS?????:
LWIP - memory usage configuration -HELPME!!
please anyone help me!!!!
:O(
2007/11/23, Piero 74 <address@hidden>:
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