[INFO] lwIP version 2.0 Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
User avatar
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:

[INFO] lwIP version 2.0  Topic is solved

Postby Giovanni » Thu May 05, 2016 1:09 pm

Hi,

Finally lwIP is moving to next version: http://savannah.nongnu.org/projects/lwip/

Changes to be performed to the integration layer are to be assessed, anybody interested in doing an exploration?

Giovanni

awygle
Posts: 32
Joined: Sun Apr 03, 2016 8:39 pm
Has thanked: 6 times
Been thanked: 4 times

Re: [INFO] lwIP version 2.0

Postby awygle » Thu May 05, 2016 10:10 pm

Since I plan to do quite a bit of work with lwIP + ChibiOS in the future, I'll say that I'd be glad to help out in whatever way is useful, but qualify it by saying that I likely won't be able to get to it for a couple of months - there's some higher-priority things ahead of it in the queue.

bitto
Posts: 16
Joined: Thu Jan 30, 2014 9:45 am

Re: [INFO] lwIP version 2.0

Postby bitto » Tue Jul 05, 2016 2:25 pm

I'll be more than glad to contribute.

Additionally, I have a suggestion to submit. In the lwip_bindings module I would change the

Code: Select all

void lwipInit(const lwipthread_opts_t *opts);

function to

Code: Select all

thread_t *lwipInit(const lwipthread_opts_t *opts);

having it return to the caller the return value of chThdCreateStatic.
This way the final user could check if lwip_thread was successfully created, if he/she cares about it.
What do you think?

Alberto

User avatar
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

Postby Giovanni » Tue Jul 05, 2016 2:29 pm

Why not.

Giovanni

User avatar
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

Postby Giovanni » Mon Oct 03, 2016 11:18 am

Bumped.

Marco
Posts: 128
Joined: Tue Apr 16, 2013 8:22 pm
Has thanked: 4 times
Been thanked: 11 times

Re: [INFO] lwIP version 2.0

Postby Marco » Sat Nov 12, 2016 11:19 am

Hi,

LwIP 2.0.0 is now officially released. Did anyone already try to adapt the lwip bindings for it? Otherwise i might give it a try.

Marco

User avatar
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

Postby Giovanni » Sat Nov 12, 2016 1:10 pm

Hi,

I have not tried yet, there are several bugs to fix and FatFS in the queue. If you want to give it a try please go ahead, post here in case of problems.

There is a bug open for lwIP, I don't know if it is applicable to 2.0 too, you should verify.

https://sourceforge.net/p/chibios/bugs/729/

Giovanni

Marco
Posts: 128
Joined: Tue Apr 16, 2013 8:22 pm
Has thanked: 4 times
Been thanked: 11 times

Re: [INFO] lwIP version 2.0

Postby Marco » Mon Nov 14, 2016 10:14 pm

Hi,

I just wanted to inform you on my progress of updating LwIP. I replaced 1.4.1 by 2.0.0 and had to make some minor adjustments to lwip.mk, cc.h and lwipthread.c. Other than that, nothing special had to be done to update and it seems to work as expected.

The bug report also applies for 2.0.0 so i will try to fix it. I will report back with some patches soon.

Marco

User avatar
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

Postby Giovanni » Tue Nov 15, 2016 9:07 am

Great. could you also evaluate this one?

https://sourceforge.net/p/chibios/bugs/788/

It has just been posted, it also improves chprintf apparently.

Giovanni

Marco
Posts: 128
Joined: Tue Apr 16, 2013 8:22 pm
Has thanked: 4 times
Been thanked: 11 times

Re: [INFO] lwIP version 2.0

Postby Marco » Tue Nov 15, 2016 10:12 am

Yes, i noticed the debug macro was not implemented yet when modifying cc.h. I will add it.

IMO the chprintf improvements should be separated from the LwIP update. Do you think the printing of 16-bit types should be standard or optional with a compile flag?

Marco


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 5 guests