lwip-members
[Top][All Lists]
Advanced

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

[lwip-members] new debugging features in CVS


From: leon . woestenberg
Subject: [lwip-members] new debugging features in CVS
Date: Thu, 20 Feb 2003 14:46:26 +0100

Hello,

in the latest CVS tree, the debugging configuration (previously
in debug.h) is now in your lwipopts.h file, which must now
contain the debug settings:

#ifndef __LWIPOPTS_H__
#define __LWIPOPTS_H__

#include "lwip/debug.h"

...
usual lwIP configuration goes here
...

/** debug configuration */
#ifdef LWIP_DEBUG

/** Enable only debug messages matching any of these types
 *  (add DBG_ON if you want to see all enabled module messages
 *  regardless of type).
 */
#define DBG_TYPES_ON (DBG_ON | DBG_TRACE | DBG_STATE | DBG_FRESH)

/**
 * Enable/disable debugging per module
 */
#define DEMO_DEBUG       DBG_OFF
#define ETHARP_DEBUG     DBG_ON

# ...

#define TCPIP_DEBUG      DBG_OFF
#define TCPDUMP_DEBUG    DBG_OFF
#define DHCP_DEBUG       DBG_ON

#endif /* LWIP_DEBUG */

Regards,

Leon Woestenberg







reply via email to

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