[core] Fix lwIP debugging support

This commit is contained in:
Kuba Szczodrzyński
2024-05-18 21:59:30 +02:00
parent b255402659
commit 21a194f43d
4 changed files with 15 additions and 4 deletions

View File

@@ -15,8 +15,15 @@
// set lwIP debugging options according to LT config
#if LT_DEBUG_LWIP
// enable main debugging switch
#undef LWIP_DEBUG
#define LWIP_DEBUG 1
// enable all messages
#undef LWIP_DBG_MIN_LEVEL
#define LWIP_DBG_MIN_LEVEL 0
// enable all debugging types
#undef LWIP_DBG_TYPES_ON
#define LWIP_DBG_TYPES_ON 0xF8
// make lwIP use printf() library
#include <stdio.h>
#undef LWIP_PLATFORM_DIAG