Page 1 of 9
[INFO] lwIP version 2.0
Posted: Thu May 05, 2016 1:09 pm
by Giovanni
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
Re: [INFO] lwIP version 2.0
Posted: Thu May 05, 2016 10:10 pm
by awygle
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.
Re: [INFO] lwIP version 2.0
Posted: Tue Jul 05, 2016 2:25 pm
by bitto
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
Re: [INFO] lwIP version 2.0
Posted: Tue Jul 05, 2016 2:29 pm
by Giovanni
Why not.
Giovanni
Re: [INFO] lwIP version 2.0
Posted: Mon Oct 03, 2016 11:18 am
by Giovanni
Bumped.
Re: [INFO] lwIP version 2.0
Posted: Sat Nov 12, 2016 11:19 am
by Marco
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
Re: [INFO] lwIP version 2.0
Posted: Sat Nov 12, 2016 1:10 pm
by Giovanni
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
Re: [INFO] lwIP version 2.0
Posted: Mon Nov 14, 2016 10:14 pm
by Marco
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
Re: [INFO] lwIP version 2.0
Posted: Tue Nov 15, 2016 9:07 am
by Giovanni
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
Re: [INFO] lwIP version 2.0
Posted: Tue Nov 15, 2016 10:12 am
by Marco
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