On Tue, 2012-02-07 at 08:45 +0100, Simon Goldschmidt wrote:
> 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.

Or perhaps lwipopts.h doesn't have support for netconn API turned on?  I
would expect compile errors then though.

Kieran


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

Reply via email to