[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] debug help
From: |
Martin Velek |
Subject: |
Re: [lwip-users] debug help |
Date: |
Mon, 17 May 2010 09:35:31 +0200 |
Hi,
I think you have to write also your own debug printf functions like
extern void LWIPDebug(const char *pcString, ...);
extern void LWIPAssert(const char *pcString, ...);
#define LWIP_PLATFORM_DIAG(x) {LWIPDebug x;}
#define LWIP_PLATFORM_ASSERT(expr) {LWIPAssert (expr);}
or similar,
setup minimal debug log level
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_OFF
and enable debug types
#define LWIP_DBG_TYPES_ON LWIP_DBG_ON
I do not know how above defines are working but in my case it works.
Martin
On 10 May 2010 13:54, Bernhard 'Gustl' Bauer <address@hidden> wrote:
> Hi
>
> I don't get any debug messages. This is in my lwip.opts.h:
>
> #define LWIP_DEBUG 1
> #define SNTP_DEBUG (LWIP_DBG_ON)
>
> Is there anything else I must do?
>
> TIA
>
> Gustl
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>