Page 4 of 9

Re: [INFO] lwIP version 2.0

Posted: Thu Jan 12, 2017 3:15 pm
by Giovanni
Merged the two threads.

Giovanni

Re: [INFO] lwIP version 2.0

Posted: Fri Jan 13, 2017 2:30 pm
by Giovanni
Any news on this front?

I hope to have a full release sometime in February.

Giovanni

Re: [INFO] lwIP version 2.0

Posted: Tue Apr 25, 2017 9:22 am
by Marco
Hi Giovanni,

I have been quite busy last weeks (and still) so i didn't continue my work on this. I will make sure all the work so far is in the git repository. If i remember correct i started working on a PPPoE netif but didn't know how to continue.

For this upcoming release a working Ethernet and PPPoS driver should be feasible IMO. I'll try to clean it a bit so you can include it in the release.

Marco

Re: [INFO] lwIP version 2.0

Posted: Wed Jun 07, 2017 2:34 pm
by steved
I've updated the lwIP bindings to work with lwIP V2.0.2.
This also incorporates iggarpe's buffer patch (and a file without it)
Basic testing with the web server is fine

Using the 17.6.0 release

Re: [INFO] lwIP version 2.0

Posted: Wed Jun 07, 2017 2:51 pm
by Giovanni
Thanks, I will try to integrate before next release.

Giovanni

Re: [INFO] lwIP version 2.0

Posted: Mon Jun 26, 2017 1:56 pm
by steved
As an addendum, I'm sure I've seen a post on this (duplicate definition of struct timeval), but can't find it. From lwip's sockets.h:

Code: Select all

/** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
 * by your system, set this to 0 and include <sys/time.h> in cc.h */

(Applies to both 1.4 and 2.0)
My inclination would be to set LWIP_TIMEVAL_PRIVATE to zero and do the include in Chibi's cc.h; in an ideal world I can see no need to override a standard definition. However the non-GCC world may be less than ideal; might this need to be a project-configurable option?

Re: [INFO] lwIP version 2.0

Posted: Mon Jun 26, 2017 2:25 pm
by Giovanni
Hi,

At very least there could be an #ifndef around the definition so it can be set in prjects options.

Giovanni

Re: [INFO] lwIP version 2.0

Posted: Mon Jun 26, 2017 5:52 pm
by steved
Giovanni wrote:At very least there could be an #ifndef around the definition so it can be set in prjects options.

Works better than expected - looks like the include order gets the message through OK (which I didn't expect on a cursory glance).

Re: [INFO] lwIP version 2.0

Posted: Thu Aug 24, 2017 11:44 am
by steved
I've updated the bindings to address bug #729 - all works fine on a quick check (although also worked fine before).
Bug #824 was addressed in the previous upload.

Re: [INFO] lwIP version 2.0

Posted: Thu Aug 24, 2017 12:30 pm
by Giovanni
Do demos require adjustments after implementing this change?

Giovanni