|Subject:||Re: [lwip-users] LwIP configuration for directing LWIP_DEBUGF to user function|
|Date:||Sun, 25 Feb 2018 17:28:44 +0200|
Thank you for referring me to lwip-contrib.
I downloaded the version contrib-2.0.1.
I found that LWIP_DEBUG is defined as compilation parameters of project layer.
I didn’t find mention of LWIP_PLATFORM_DIAG.
I use LwIP as part of ST CubeMx environment that defines LWIP_PLATFORM_DIAG in cc.h as the following:
#define LWIP_PLATFORM_DIAG(message) printf message
Can you please advise me how should I direct the “printf message” to serial_write(char *message_string)?
On 25.02.2018 13:18, Yacob Hassidim wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|