lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] ODP: Enabling Debugging messages in lwip


From: Michal Timm
Subject: [lwip-users] ODP: Enabling Debugging messages in lwip
Date: Tue, 31 Dec 2019 07:29:51 +0100

Hi,

Do you use any RTOS?





Od:        "samyuktar" <address@hidden>
Do:        address@hidden
Data:        31.12.2019 01:30
Temat:        [lwip-users] Enabling Debugging messages in lwip
Wysłane przez:        "lwip-users" <lwip-users-bounces+m.timm=address@hidden>




Hello,

I am using a CC1352P1 board to run lwIP.

I would like to enable LWIP debug messages to try and debug some of the
problems I'm having (check my other posts). I have done the following :

#define LWIP_DEBUG : ✅
#define LWIP_DEBUG_TYPES LWIP_DEBUG ✅

in lwipopts.h:

#if 1
#define U8_F "c"
#define S8_F "c"
#define X8_F "x"
#define U16_F "u"
#define S16_F "d"
#define X16_F "x"
#define U32_F "u"
#define S32_F "d"
#define X32_F "x"
extern void UARTprintf(const char *pcString, ...);
/* added by QJ Wang*/
#define LWIP_PLATFORM_DIAG(msg) UARTprintf msg
#define LWIP_PLATFORM_ASSERT(msg)    \
       UARTprintf("ASSERT FAIL at line %d of %s: %s\n", __LINE__, __FILE__,
msg)
/* end by */
#define LWIP_DEBUG 1
#endif


I am sending print statements to the PC using a system_printf native to the
TI-RTOS. As is I am unable to see any of the lwIP debug messages when I run
"screen /dev/tty.usbmodem:<deviceID> 115200" in a terminal. Please advise.






--
Sent from:
http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



WB Electronics S.A.
05-850 Ozarow Mazowiecki, ul. Poznanska 129/133
NIP: 526-216-83-87 REGON: 0128903491
KRS: 0000369722 W.K.Z.: 504 921,65 PLN
Sad Rejonowy dla m. st. WARSZAWY w Warszawie XIV Wydzial Gospodarczy Krajowego Rejestru Sadowego

reply via email to

[Prev in Thread] Current Thread [Next in Thread]