lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LWIP stops responding on Ping and HTTP calls from a bro


From: Kieran Mansley
Subject: Re: [lwip-users] LWIP stops responding on Ping and HTTP calls from a browser
Date: Thu, 28 Apr 2011 13:32:15 +0100

On Thu, 2011-04-28 at 11:58 +0200, Ruben van der Kraan wrote:
> I call  "stats_display();"
> 
> but is the define "#define LWIP_PLATFORM_DIAG(x) printf" wrong or not?
> in the help I found 
> 
>   Platform specific diagnostic output -
>     LWIP_PLATFORM_DIAG(x)    - non-fatal, print a message.
>     LWIP_PLATFORM_ASSERT(x)  - fatal, print message and abandon
> execution.
>     Portability defines for printf formatters:
>     U16_F, S16_F, X16_F, U32_F, S32_F, X32_F, SZT_F
> 
> I think I also have to define somthing like this
> 
> #define U16_F unsigned short

Look at one of the example ports in contrib/ports/ for details of what
to do with these.

Kieran




reply via email to

[Prev in Thread] Current Thread [Next in Thread]