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 <umar.azizud...@microengine.net> 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 > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users