[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] netconn + netbuf_alloc + POOLS
From: |
mtimm |
Subject: |
[lwip-users] netconn + netbuf_alloc + POOLS |
Date: |
Fri, 15 Nov 2019 05:40:17 -0700 (MST) |
Hello,
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: http://lwip.100.n7.nabble.com/lwip-users-f3.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] netconn + netbuf_alloc + POOLS,
mtimm <=