Skip to content

Commit

Permalink
Remove leftover LWIP debug/redefines (#2213)
Browse files Browse the repository at this point in the history
Fixes #2211
  • Loading branch information
earlephilhower authored Jun 9, 2024
1 parent bde21e5 commit 151c52c
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 16 deletions.
11 changes: 3 additions & 8 deletions include/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ extern unsigned long __lwip_rand(void);
#define LWIP_NETIF_LINK_CALLBACK 1
#define LWIP_NETIF_HOSTNAME 1
#define LWIP_NETCONN 0
#define LWIP_STATS 0
#define LWIP_STATS_DISPLAY 0
#define MEM_STATS 0
#define SYS_STATS 0
#define MEMP_STATS 0
Expand Down Expand Up @@ -72,14 +74,7 @@ extern void __setSystemTime(unsigned long long sec, unsigned long us);
//#define SNTP_SERVER_ADDRESS "pool.ntp.org"
#define SNTP_SERVER_DNS 1

#ifndef NDEBUG
#define LWIP_DEBUG 1
#define LWIP_STATS 1
#define LWIP_STATS_DISPLAY 1
#define MEMP_STATS 1
#define MEM_STATS 1
#endif

#define LWIP_DEBUG 0
#define ETHARP_DEBUG LWIP_DBG_OFF
#define NETIF_DEBUG LWIP_DBG_OFF
#define PBUF_DEBUG LWIP_DBG_OFF
Expand Down
Binary file modified lib/libpico.a
Binary file not shown.
Binary file modified lib/libpicow-ipv6-btc-ble-big.a
Binary file not shown.
Binary file modified lib/libpicow-ipv6-btc-ble.a
Binary file not shown.
Binary file modified lib/libpicow-ipv6-nobtc-noble-big.a
Binary file not shown.
Binary file modified lib/libpicow-ipv6-nobtc-noble.a
Binary file not shown.
Binary file modified lib/libpicow-noipv6-btc-ble-big.a
Binary file not shown.
Binary file modified lib/libpicow-noipv6-btc-ble.a
Binary file not shown.
Binary file modified lib/libpicow-noipv6-nobtc-noble-big.a
Binary file not shown.
Binary file modified lib/libpicow-noipv6-nobtc-noble.a
Binary file not shown.
11 changes: 3 additions & 8 deletions tools/libpico/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ extern unsigned long __lwip_rand(void);
#define LWIP_NETIF_LINK_CALLBACK 1
#define LWIP_NETIF_HOSTNAME 1
#define LWIP_NETCONN 0
#define LWIP_STATS 0
#define LWIP_STATS_DISPLAY 0
#define MEM_STATS 0
#define SYS_STATS 0
#define MEMP_STATS 0
Expand Down Expand Up @@ -72,14 +74,7 @@ extern void __setSystemTime(unsigned long long sec, unsigned long us);
//#define SNTP_SERVER_ADDRESS "pool.ntp.org"
#define SNTP_SERVER_DNS 1

#ifndef NDEBUG
#define LWIP_DEBUG 1
#define LWIP_STATS 1
#define LWIP_STATS_DISPLAY 1
#define MEMP_STATS 1
#define MEM_STATS 1
#endif

#define LWIP_DEBUG 0
#define ETHARP_DEBUG LWIP_DBG_OFF
#define NETIF_DEBUG LWIP_DBG_OFF
#define PBUF_DEBUG LWIP_DBG_OFF
Expand Down

0 comments on commit 151c52c

Please sign in to comment.