Hi,
If I define LWIP_DEBUG and PPP_DEBUG on, ppp and debug info works well
#define LWIP_DEBUG
#define PPP_DEBUG LWIP_DBG_ON
If I turn off the marco, ppp will not work.
My printf like this:
#define LWIP_PLATFORM_DIAG(message) printf_safe message
#define LWIP_PLATFORM_ASSERT(x) do {printf_safe("Assertion \"%s\" failed at
line %d in %s\n", \
x, __LINE__, __FILE__); while(1);} while(0)
and printf_safe is a wrapper of printf with mutex.
Thanks,
RGW_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users