netconn + netbuf_alloc + POOLS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

netconn + netbuf_alloc + POOLS

I have just starting to port my working RAW Api (UDP) to Netconn (FreeRTOS).
I would like to use only static allocation (PBUF_POOLS).

Sending UDP packets (FreeRTOS + Netconn API) works well but I am a little
bit concerned. Inside netbuf_alloc() there is pbuf allocation using PBUF_RAM

Is there another implementation using static allocation?
Despite the fact that I want to use static memory allocation (macro
MEM_USE_POOLS 1) in the LwIP there are similar places when allocation is
being made such a way.

How should I work with that? Can I change PBUF_RAM to PBUF_POOL inside
pbuf_alloc()? Or there is other solution?

Thanks for help.

Sent from:

lwip-users mailing list
[hidden email]