lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Custom placement of memory pool


From: Dirk Ziegelmeier
Subject: Re: [lwip-users] Custom placement of memory pool
Date: Fri, 9 Nov 2018 15:15:44 +0100

Yes, in exactly the same way - just figure out the name of the PBUF pool (see linker map file) and add an external with appropriate GCC attribute to cc.h

Dirk


On Fri, Nov 9, 2018 at 3:14 PM uaz <address@hidden> wrote:
Hi Dirk,

Thanks for the heads up. I lost focus because I was drowning in the macros.

Ok, now I understand that I can define my own memory pool at custom address.

But how about pbuf buffers? Is it possible to relocate them to different
address?

Now I get confused with pbuf pool (PBUF_POOL_SIZE) with the memp custom pool
(MEMP_USE_CUSTOM_POOLS).
Does it mean that:
- if I set MEMP_USE_CUSTOM_POOLS to 1, I can set PBUF_POOL_SIZE to 0 because
memp_malloc() will look for available slot from the custom pool instead of
pbuf pool?

Regards,
UAZ



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

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