esp-open-sdk
esp-open-sdk copied to clipboard
How to compile the SDK with lwIP in debug mode?
Hello, A beginner to C and ESP SDK here :) I would like to see debug messages which can be helpful while getting to know how exactly TCP stack works. Thanks!
edit esp-open-lwip/include/lwipopts.h:
make sure it contains
#define LWIP_DEBUG 1 #define LWIP_DBG_TYPES_ON LWIP_DBG_ON
plus enable the debugging types you want like:
#define IP_DEBUG LWIP_DBG_ON
rebuild esp-open-sdk