|Subject:||Re: [lwip-users] LwIP configuration for directing LWIP_DEBUGF to user function|
|Date:||Sun, 25 Feb 2018 14:18:19 +0200|
Thank you for your fast response.
Can you please send an example of definitions of LWIP_DEBUG and LWIP_PLATFORM_DIAG?
Real Time Embedded Software Engineer
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,
I use LwIP version 2.0.0.
How to configure LwIP in order to direct LWIP_DEBUGF to user function e.g. serial_write() ?
|[Prev in Thread]||Current Thread||[Next in Thread]|