|
From: | Chen |
Subject: | [lwip-users] Re: lwip-users Digest, Vol 87, Issue 24 |
Date: | Mon, 22 Nov 2010 12:31:17 -0500 |
Message: 4
Date: Mon, 22 Nov 2010 14:28:01 +0000
From: Kieran Mansley <address@hidden>
Subject: Re: [lwip-users] Changing tx buffer MEM_SIZE?
To: Mailing list for lwIP users <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain
On Mon, 2010-11-22 at 09:23 -0500, Chen wrote:
>
> /* MEM_SIZE: the size of the heap memory. If the application will send
> a lot of data that needs to be copied, this should be set high. */
> #define MEM_SIZE 3 * 1024
>
> How can I change MEM_SIZE on the fly according to different
> configuration?
You can't. It's a compile time constant.
What are you trying to achieve though? lwIP has a number of different
ways of allocating memory (static heap, pools, malloc) that are suited
to different environments.
Kieran
------------------------------
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
End of lwip-users Digest, Vol 87, Issue 24
******************************************
[Prev in Thread] | Current Thread | [Next in Thread] |