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
[INFO] lwIP version 2.0 Topic is solved
- Giovanni
- Site Admin
- Posts: 14457
- 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
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
I'll be more than glad to contribute.
Additionally, I have a suggestion to submit. In the lwip_bindings module I would change the
function to
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
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
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- Giovanni
- Site Admin
- Posts: 14457
- 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,
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
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
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
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
- Giovanni
- Site Admin
- Posts: 14457
- 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
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
https://sourceforge.net/p/chibios/bugs/788/
It has just been posted, it also improves chprintf apparently.
Giovanni
Re: [INFO] lwIP version 2.0
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
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 35 guests