Merge branch 'feature/lwip_dns_debug_logs' into 'master'

lw-IP: Add DNS debug option.

Closes IDFGH-7076

See merge request espressif/esp-idf!17668
This commit is contained in:
David Čermák
2022-04-06 21:59:09 +08:00
2 changed files with 14 additions and 0 deletions

View File

@@ -1063,4 +1063,9 @@ menu "LWIP"
depends on LWIP_DEBUG
default n
config LWIP_DNS_DEBUG
bool "Enable DNS debug messages"
depends on LWIP_DEBUG
default n
endmenu

View File

@@ -1232,6 +1232,15 @@
#define SNTP_DEBUG LWIP_DBG_OFF
#endif
/**
* DNS_DEBUG: Enable debugging for DNS.
*/
#ifdef CONFIG_LWIP_DNS_DEBUG
#define DNS_DEBUG LWIP_DBG_ON
#else
#define DNS_DEBUG LWIP_DBG_OFF
#endif
/**
* MEMP_DEBUG: Enable debugging in memp.c.
*/