Merged the two threads.
Giovanni
[INFO] lwIP version 2.0 Topic is solved
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: [INFO] lwIP version 2.0
Any news on this front?
I hope to have a full release sometime in February.
Giovanni
I hope to have a full release sometime in February.
Giovanni
Re: [INFO] lwIP version 2.0
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
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
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
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
- Attachments
-
- lwip_2.02-patched.7z
- Patched version of lwIP 2.0.2 for ChibiOS
- (2.78 MiB) Downloaded 220 times
-
- lwip_bindings.7z
- ChibiOS to lwIP bindings for Chibi 17.6/lwIP 2.0.2
- (26.33 KiB) Downloaded 204 times
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: [INFO] lwIP version 2.0
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:
(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?
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?
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: [INFO] lwIP version 2.0
Hi,
At very least there could be an #ifndef around the definition so it can be set in prjects options.
Giovanni
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
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).
- Attachments
-
- lwip_bindings.7z
- lwip Chibi bindings with option to use standard definition of struct timeval
- (26.41 KiB) Downloaded 208 times
Re: [INFO] lwIP version 2.0
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.
Bug #824 was addressed in the previous upload.
- Attachments
-
- lwip_bindings.zip
- lwIP bindings latest
- (43.46 KiB) Downloaded 220 times
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Return to “Small Change Requests”
Who is online
Users browsing this forum: No registered users and 16 guests