|Subject:||Re: [lwip-users] Recv en socket TCP|
|Date:||Mon, 05 Oct 2009 16:35:30 +0200|
|User-agent:||Thunderbird 220.127.116.11 (Macintosh/20090812)|
Oscar F wrote:
One thing reading the wiki lwip, do you recommend me use the model of memory MEM_LIBC_MALLOC and forget MEM_SIZE?
As Kieran already said, it is generally a good idea to first get your application running with the standard options and once that works begin tweaking it to suit your memory/resource needs. MEM_LIBC_MALLOC saves you some code-memory if you already use malloc provided by your C-library somewhere else (not in lwIP) because you then do not need the lwIP heap implementation. On the other hand, memory usage gets a little less predictable as you then share the heap with the rest of the code running on your target. Thus, this setting largley depends on your target.
|[Prev in Thread]||Current Thread||[Next in Thread]|