[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] TCP server netconn API
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] TCP server netconn API |
Date: |
Tue, 07 Feb 2012 13:19:43 +0000 |
On Tue, 2012-02-07 at 08:45 +0100, Simon Goldschmidt wrote:
> Saket Chawla <address@hidden> 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