lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Little endian


From: Fabian Cenedese
Subject: Re: [lwip-users] Little endian
Date: Fri, 27 Jun 2014 08:56:59 +0200

At 18:09 26.06.2014, you wrote:
>Hi Fabian,
>for clarity's sake:
>
>lwIP uses internally its own representation, and there are macros to
>convert from network format to host format. I guess all systems are more
>or less like that.
>
>You are supposed to have a fast macro, preferably with machine code
>instructions, because it is going to be used a lot. That should be a
>part of your arch port.
>Have a look at (or just use) my ARM Cortex-M generic (CMSIS) port:
>http://scaprile.ldir.com.ar/cms/category/os/lwip-port
>and also have a look at my ethernet code to see how it uses that macro:
>http://scaprile.ldir.com.ar/cms/el-ingeniero/open-source-projects-im-working-on/

I got it working now. We already have implementations for faster
swappings, I just need to use them. But thanks for the links
anyway, I did take a look.

bye  Fabi




reply via email to

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