lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Debugging doesn´t work with HTTP example


From: Sergio R. Caprile
Subject: Re: [lwip-users] Debugging doesn´t work with HTTP example
Date: Mon, 31 Oct 2016 10:31:21 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

It is not a matter of "compatibility" but doing things right or wrong, you either do things the right way or you violate the rules of your working environment. If you are suspicious on printf(), then don't use it, your port should have the correct output function and you should be able to ask about this on your RTOS forums.
As for lwIP, the output function is defined as
LWIP_PLATFORM_DIAG(message);
and that function belongs to your port, and it should be defined in arch/cc.h by the ones who did it (Atmel ?, the FreeRTOS guys ?); the exact location of that file depends on their choice.

Furthermore, now you say you are using an RTOS... You must check your port is not violating the single-threading rules, exactly which HTTP server code are you using ? With which API ? Is it lwIP original code ? Is it vendor modified ? Which lwIP version ?





reply via email to

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