Skip to content

Commit 151c52c

Browse files
Remove leftover LWIP debug/redefines (earlephilhower#2213)
Fixes earlephilhower#2211
1 parent bde21e5 commit 151c52c

11 files changed

+6
-16
lines changed

include/lwipopts.h

+3-8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ extern unsigned long __lwip_rand(void);
4242
#define LWIP_NETIF_LINK_CALLBACK 1
4343
#define LWIP_NETIF_HOSTNAME 1
4444
#define LWIP_NETCONN 0
45+
#define LWIP_STATS 0
46+
#define LWIP_STATS_DISPLAY 0
4547
#define MEM_STATS 0
4648
#define SYS_STATS 0
4749
#define MEMP_STATS 0
@@ -72,14 +74,7 @@ extern void __setSystemTime(unsigned long long sec, unsigned long us);
7274
//#define SNTP_SERVER_ADDRESS "pool.ntp.org"
7375
#define SNTP_SERVER_DNS 1
7476

75-
#ifndef NDEBUG
76-
#define LWIP_DEBUG 1
77-
#define LWIP_STATS 1
78-
#define LWIP_STATS_DISPLAY 1
79-
#define MEMP_STATS 1
80-
#define MEM_STATS 1
81-
#endif
82-
77+
#define LWIP_DEBUG 0
8378
#define ETHARP_DEBUG LWIP_DBG_OFF
8479
#define NETIF_DEBUG LWIP_DBG_OFF
8580
#define PBUF_DEBUG LWIP_DBG_OFF

lib/libpico.a

0 Bytes
Binary file not shown.

lib/libpicow-ipv6-btc-ble-big.a

-2.1 KB
Binary file not shown.

lib/libpicow-ipv6-btc-ble.a

-2.1 KB
Binary file not shown.

lib/libpicow-ipv6-nobtc-noble-big.a

-2.1 KB
Binary file not shown.

lib/libpicow-ipv6-nobtc-noble.a

-2.1 KB
Binary file not shown.

lib/libpicow-noipv6-btc-ble-big.a

6.52 KB
Binary file not shown.

lib/libpicow-noipv6-btc-ble.a

6.52 KB
Binary file not shown.

lib/libpicow-noipv6-nobtc-noble-big.a

6.52 KB
Binary file not shown.

lib/libpicow-noipv6-nobtc-noble.a

6.52 KB
Binary file not shown.

tools/libpico/lwipopts.h

+3-8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ extern unsigned long __lwip_rand(void);
4242
#define LWIP_NETIF_LINK_CALLBACK 1
4343
#define LWIP_NETIF_HOSTNAME 1
4444
#define LWIP_NETCONN 0
45+
#define LWIP_STATS 0
46+
#define LWIP_STATS_DISPLAY 0
4547
#define MEM_STATS 0
4648
#define SYS_STATS 0
4749
#define MEMP_STATS 0
@@ -72,14 +74,7 @@ extern void __setSystemTime(unsigned long long sec, unsigned long us);
7274
//#define SNTP_SERVER_ADDRESS "pool.ntp.org"
7375
#define SNTP_SERVER_DNS 1
7476

75-
#ifndef NDEBUG
76-
#define LWIP_DEBUG 1
77-
#define LWIP_STATS 1
78-
#define LWIP_STATS_DISPLAY 1
79-
#define MEMP_STATS 1
80-
#define MEM_STATS 1
81-
#endif
82-
77+
#define LWIP_DEBUG 0
8378
#define ETHARP_DEBUG LWIP_DBG_OFF
8479
#define NETIF_DEBUG LWIP_DBG_OFF
8580
#define PBUF_DEBUG LWIP_DBG_OFF

0 commit comments

Comments
 (0)