#define LWIP_CHKSUM_ALGORITHM 2
#endif
-#ifdef LWIP_DEBUG
+/* this is used for 1) displaying statistics and 2) lwip debugging (set appropriate debugging level in lwipopts.h) */
+//#ifdef LWIP_DEBUG
extern int32_t rpp_sci_printf(const char* format, ...);
#define LWIP_PLATFORM_DIAG(expr) rpp_sci_printf expr
-#else
-#define LWIP_PLATFORM_DIAG(expr)
-#endif
+//#else
+//#define LWIP_PLATFORM_DIAG(expr)
+//#endif
//#define DEBUG
#ifdef DEBUG
LWIP_PLATFORM_DIAG(message); } while(0)
//extern void __error__(char *pcFilename, unsigned long ulLine);
-extern int32_t rpp_sci_printkb(const char* format, ...);
-#define LWIP_PLATFORM_ASSERT(expr) rpp_sci_printkb((const char *) expr)
+extern int32_t rpp_sci_printk(const char* format, ...);
+#define LWIP_PLATFORM_ASSERT(expr) rpp_sci_printk((const char *) expr)
/*
{ \
if(!(expr)) \
/**
* PBUF_DEBUG: Enable debugging in pbuf.c.
*/
-#define PBUF_DEBUG LWIP_DBG_ON | ALL_DBG_ON
+#define PBUF_DEBUG LWIP_DBG_OFF | ALL_DBG_ON
/**
* API_LIB_DEBUG: Enable debugging in api_lib.c.