Hi

I am trying to use the latest lwip2.0 and use it with custom pools.  I am using 
the following wiki document and followed it to the letter.


http://lwip.wikia.com/wiki/Custom_memory_pools


I added in lwipopts.h:


#define MEM_USE_POOLS                   1
#define MEMP_USE_CUSTOM_POOLS           1


And created lwippools.h


LWIP_MALLOC_MEMPOOL_START
LWIP_MALLOC_MEMPOOL(50, 256)
LWIP_MALLOC_MEMPOOL(50, 512)
LWIP_MALLOC_MEMPOOL(50, 1512)
LWIP_MALLOC_MEMPOOL_END


After doing this I am running into the following error when trying to compile 
lwip2.0 with the microblaze compiler (gcc).

"src/include/lwip/priv/memp_priv.h:101:42: error: 'MEMP_POOL_256' undeclared 
here (not in a function)"

How does one fix this issue.

Thanks in advance.


_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to