41 |
* - 3 severe |
* - 3 severe |
42 |
*/ |
*/ |
43 |
#define DBG_MASK_LEVEL 3 |
#define DBG_MASK_LEVEL 3 |
44 |
|
// LW: moved to lwipopts.h |
45 |
|
#if 0 |
46 |
#define DBG_TYPES_ON 0 |
#define DBG_TYPES_ON 0 |
47 |
|
#endif |
48 |
/** print only debug messages with this level or higher */ |
/** print only debug messages with this level or higher */ |
49 |
#define DBG_MIN_LEVEL 0 |
#define DBG_MIN_LEVEL 0 |
50 |
|
|
53 |
/** flag for DEBUGF to disable the debug message */ |
/** flag for DEBUGF to disable the debug message */ |
54 |
#define DBG_OFF 0x00U |
#define DBG_OFF 0x00U |
55 |
|
|
56 |
/** flag for DEBUGF to indicate it is a tracing message (to follow program flow) */ |
/** flag for DEBUGF indicating a tracing message (to follow program flow) */ |
57 |
#define DBG_TRACE 0x40 |
#define DBG_TRACE 0x40 |
58 |
/** flag for DEBUGF to indicate it is a state debug message (to follow states) */ |
/** flag for DEBUGF indicating a state debug message (to follow states) */ |
59 |
#define DBG_STATE 0x20 |
#define DBG_STATE 0x20 |
60 |
/** flag for DEBUGF that indicates newly added code, not thoroughly tested yet */ |
/** flag for DEBUGF indicating newly added code, not thoroughly tested yet */ |
61 |
#define DBG_FRESH 0x10 |
#define DBG_FRESH 0x10 |
62 |
/** flag for DEBUGF to halt after printing this debug message */ |
/** flag for DEBUGF to halt after printing this debug message */ |
63 |
#define DBG_HALT 0x08 |
#define DBG_HALT 0x08 |
64 |
|
|
|
|
|
65 |
#ifdef LWIP_DEBUG |
#ifdef LWIP_DEBUG |
66 |
|
|
67 |
#define LWIP_ASSERT(x,y) do { if(!(y)) LWIP_PLATFORM_ASSERT(x); } while(0) |
#define LWIP_ASSERT(x,y) do { if(!(y)) LWIP_PLATFORM_ASSERT(x); } while(0) |