|
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 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 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. |
[Prev in Thread] | Current Thread | [Next in Thread] |