Has anyone looked into setting up the memory pools such that if they
run out more can be allocated? The most straightforward way would be
to simply malloc each new memory type when the pool runs out and free
it when it is free. However, a more clever approach would be to make
a new pool. The problem I have is that I don't want to allocate a
bunch of space for TCP connections that don't exist but I don't want
an error if I want to open 30 TCP connections. The same goes for PBUF
objects. I would like to allocate 10 or so and add 10 at a time until
some limit (say 100). Has anyone looked into something like this for
lwip?