lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LwIP configuration for directing LWIP_DEBUGF to user fu


From: Yacob Hassidim
Subject: Re: [lwip-users] LwIP configuration for directing LWIP_DEBUGF to user function
Date: Sun, 25 Feb 2018 14:18:19 +0200

Hello Noam,

 

Thank you for your fast response.

 

Can you please send an example of definitions of LWIP_DEBUG and LWIP_PLATFORM_DIAG?

 

Yacob Hassidim,

Real Time Embedded Software Engineer

Mobile: 052-3468818

 

From: lwip-users [mailto:address@hidden On Behalf Of Noam Weissman
Sent: Tuesday, February 20, 2018 3:37 PM
To: Mailing list for lwIP users <address@hidden>
Subject: Re: [lwip-users] LwIP configuration for directing LWIP_DEBUGF to user function

 

Hi Yacob,

 

In file sysy_arch.c you have an include to debug.h

 

If you set LWIP_DEBUG you need to define  LWIP_PLATFORM_DIAG

 

LWIP_PLATFORM_DIAG is your wrapper for printing

 

Normally this is defined in cc.h that is part of your micro porting code.

 

Hope that helped,

Noam.

 

 

 

From: lwip-users [mailto:address@hidden] On Behalf Of Yacob Hassidim
Sent: Tuesday, February 20, 2018 2:44 PM
To: address@hidden
Subject: [lwip-users] LwIP configuration for directing LWIP_DEBUGF to user function

 

Hello,

 

I use LwIP version 2.0.0.

 

How to configure LwIP in order to direct LWIP_DEBUGF to user function e.g. serial_write() ?

 

Thanks.

 

Yacob Hassidim.


reply via email to

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