Saket Chawla <[email protected]> wrote: > The code fails assertion at this pont > > *LWIP_ERROR("memp_malloc: type < MEMP_MAX", (type < MEMP_MAX), return > NULL;);* > * > * > The type at fail point is MEMP_NETCONN
That's strange, as MEMP_NETCONN isn't even the one with the highest number. I would suppose you have either defined LWIP_ERROR to something strange or you have mixed up include paths so that MEMP_NETCONN evaluates to something different in your application file than in memp.c. You can try to rule that out by printing MEMP_NETCONN from both files. Simon -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
