File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
features/FEATURE_LWIP/lwip-interface Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 76
76
#error "Either IPv4 or IPv6 must be preferred."
77
77
#endif
78
78
79
- #if defined(MBED_CONF_LWIP_DEBUG_ENABLED )
80
- #define LWIP_DEBUG MBED_CONF_LWIP_DEBUG_ENABLED
81
- #else
82
- #define LWIP_DEBUG 0
79
+ #undef LWIP_DEBUG
80
+ #if MBED_CONF_LWIP_DEBUG_ENABLED
81
+ #define LWIP_DEBUG 1
83
82
#endif
84
83
85
84
#if NO_SYS == 0
100
99
#define MBED_CONF_LWIP_TCPIP_THREAD_STACKSIZE 1200
101
100
#endif
102
101
103
- #if LWIP_DEBUG
102
+ #ifdef LWIP_DEBUG
104
103
#define TCPIP_THREAD_STACKSIZE MBED_CONF_LWIP_TCPIP_THREAD_STACKSIZE*2
105
104
#else
106
105
#define TCPIP_THREAD_STACKSIZE MBED_CONF_LWIP_TCPIP_THREAD_STACKSIZE
118
117
#define MBED_CONF_LWIP_PPP_THREAD_STACKSIZE 768
119
118
#endif
120
119
121
- #if LWIP_DEBUG
120
+ #ifdef LWIP_DEBUG
122
121
#define DEFAULT_THREAD_STACKSIZE MBED_CONF_LWIP_DEFAULT_THREAD_STACKSIZE*2
123
122
#define PPP_THREAD_STACK_SIZE MBED_CONF_LWIP_PPP_THREAD_STACKSIZE*2
124
123
#else
258
257
#define ETHARP_DEBUG LWIP_DBG_OFF
259
258
#define UDP_LPC_EMAC LWIP_DBG_OFF
260
259
261
- #if LWIP_DEBUG
260
+ #ifdef LWIP_DEBUG
262
261
#define MEMP_OVERFLOW_CHECK 1
263
262
#define MEMP_SANITY_CHECK 1
264
263
#define LWIP_DBG_TYPES_ON LWIP_DBG_ON
You can’t perform that action at this time.
0 commit comments