lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Version 1.4.0 timers


From: Bernard Mentink
Subject: Re: [lwip-users] Version 1.4.0 timers
Date: Wed, 2 Mar 2011 07:42:36 +1300

Hi Simon,

>However, you can go back to the old implementation (calling the timer functions yourself) by setting LWIP_TIMERS to 1.

Actually that doesn't work, I had to set NO_SYS_NO_TIMERS=1, seems to work now.

Why is there not any documentation on this stuff ..... so frustrating ....
Even a quick "howto" going from 1.3.2 to 1.4.0 would be great ..

Cheers,
Bernie

On Tue, Mar 1, 2011 at 6:54 PM, Simon Goldschmidt <address@hidden> wrote:
 Bernard Mentink <address@hidden> wrote:
> I am trying to upgrade from version 1.3.2 to version 1.4.0. I notice quite a difference around the timers, is there any documentation on how to implement the timers for the new version?
>
> In the older version (I am using NO_SYS=1) I periodically called tcp_tmr() etharp_tmr() etc from my own hardware timers, looking through timers.c I see that it is done differently, but I don't
> see any documentation on how to implement the new timers.

Have a look at the windows or linux example ports in the contrib module.
Basically, timers are now the same for both NO_SYS settings. Only the =1 setting needs information about the system time to know when to call the timer functions.

However, you can go back to the old implementation (calling the timer functions yourself) by setting LWIP_TIMERS to 1.

Simon
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users



--
You always have believers and scepticts.. A True inventor is always a believer..

reply via email to

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