[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) |
Hi
Just read your thread:
Since you're using IAR and probably using compiler at highest optimization
level, try this:
arch\cc.h:
#define PACK_STRUCT_BEGIN _Pragma("pack(2)")
#define PACK_STRUCT_STRUCT
#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
Paolo
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:
http://old.nabble.com/upgrading-to-1.3.0-from-1.2.0-tp21168872p30911884.html
Sent from the lwip-users mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [lwip-users] upgrading to 1.3.0 from 1.2.0,
paolo_alcantara <=