lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] alignment problems


From: Bartlomiej Wicher
Subject: Re: [lwip-users] alignment problems
Date: Thu, 08 Nov 2007 15:04:39 +0100
User-agent: Opera Mail/9.24 (Win32)

Dnia 08-11-2007 o 13:34:17 Jonathan Larmour <address@hidden> napisaƂ:


I really don't feel like changing the whole code of LWIP.

You may want to consider looking at uIP. It's possible that may cater
better for your requirements: http://www.sics.se/~adam/uip/index.php/Main_Page

I am afraid that uIP is not "powerful" enough. I read a bit about it and it is said to be useful for applications that "don't use TCP/IP normally". Besides, I guess I'll have similar byte-word problems with uIP (too high usage of memory, pointers conversions and alignment problems etc), since it is said to be developed for 8-bit CPUs. How do you think? I think I'll spend a day or two trying to run lwIP. I've already ported it to my operating system and ethernet controller driver. The simplest server example didn't work - at least so far... Thanks for your help. If I don't manage to make the lwIP work, do you know any free alternative stacks (except for uIP) that might work with my architecture?


I guess that
simply changing the char arrays to word (int) arrays would help only in
a case if you don't perform char* to int* conversions. Do you think that
defining u8_t and s8_t as word (int) could help? That would increase the
memory consumption, but it's not crutial for me right now...

It might help. Although I'm sure there would still be quite a few changes
required in lwIP.

Jifl



--
Bartlomiej Wicher
University of Southern Denmark
Odense, Denmark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]