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: uaz
Subject: Re: [lwip-users] Custom placement of memory pool
Date: Fri, 9 Nov 2018 07:13:18 -0700 (MST)

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



reply via email to

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