Loading...
Searching...
No Matches
Debugging memory pool sizes

If you have issues with lwIP and you are using memory pools, check that your pools are correctly sized.
To debug pool sizes, #define LWIP_STATS and MEMP_STATS to 1. Check the global variable lwip_stats.memp[] using a debugger. If the "err" member of a pool is > 0, the pool may be too small for your application and you need to increase its size.