lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip on Texas Instruments TMS320C28x family.


From: Kieran Mansley
Subject: Re: [lwip-users] lwip on Texas Instruments TMS320C28x family.
Date: Fri, 14 May 2010 16:26:27 +0100

On Fri, 2010-05-14 at 08:16 -0700, Aitor Garcia wrote:
> Has anybody had the same problem with a processor where bytes and
> words are the same size  ?

Your problem here is not that bytes and words are the same size, but
that u8_t is not an octet.  lwIP assumes this, and probably also assumes
that u16_t is two octets.

To use lwIP you would need to change all (or at least most) of the
places where it uses u8_t to use a u16_t instead, and pack octet values
into the u16_t appropriately.  There has been some talk a while ago of
having lwIP access all header fields through macros so that this sort of
change would be easier to do, but it's a big job and I don't think
anyone wants to do it.

Kieran




reply via email to

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