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: Noam Weissman
Subject: Re: [lwip-users] LwIP configuration for directing LWIP_DEBUGF to user function
Date: Tue, 20 Feb 2018 13:37:12 +0000

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:lwip-users-bounces+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]