To run with LWIP_DEBUG one needs a definition for LWIP_PLATFORM_DIAG in lwipopts.h
Since it is not particularly obvious, here is a version that works:
#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
To run with LWIP_DEBUG one needs a definition for LWIP_PLATFORM_DIAG in lwipopts.h
Since it is not particularly obvious, here is a version that works:
#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)