[Top][All Lists]

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

Re: [lwip-users] upgrading to 1.3.0 from 1.2.0

From: paolo_alcantara
Subject: Re: [lwip-users] upgrading to 1.3.0 from 1.2.0
Date: Sat, 12 Feb 2011 15:23:15 -0800 (PST)


Just read your thread:

Since you're using IAR and probably using compiler at highest optimization
level, try this:


#define PACK_STRUCT_BEGIN _Pragma("pack(2)")
#define PACK_STRUCT_END _Pragma("pack()")

That fixed my problem when using #define ETH_PAD_SIZE 0

I'm using lwIP 1.3.1

Good luck


David Shmelzer wrote:
> Thanks all for your reply.
> I should have mention that I did read the 1.3.0 release notes.
> I just found it odd that I had to set the ETH_PAD_SIZE to 2 to get it to
> work in 1.3.0. 
> It was set to 0 in the 1.2.0 version. And as far as I know the STR9
> should be able to handle all word alignments.
> Maybe there's something else going on. Probably with my port. 
> Dave
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users

View this message in context: 
Sent from the lwip-users mailing list archive at Nabble.com.

reply via email to

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