Jifl... I looked for the files arch/bpstruct.h and arch/epstruct.h but don't find them in the 1.3.0 distribution. Obviously I'm missing something. Here's the download: http://download.savannah.gnu.org/releases/lwip/lwip-1.3.0.zip I used. Is there another place I should be looking?
...Stacy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Larmour Sent: Tuesday, August 19, 2008 1:47 PM To: Mailing list for lwIP users Subject: Re: [lwip-users] LwIP and IAR Workbench FreeRTOS.org Info wrote: > Everywhere there is a macro that aligns a struct you have to add in: > > #pragma data_alignment=4 > > Everywhere there is a macro that packs a struct you have to add in: > > #pragma pack(1) > > Because they use a # you cannot simply define the macro PACK_STRUCT_STRUCT > to do this for you. This is why lwIP also provides PACK_STRUCT_USE_INCLUDES and provide two files: arch/bpstruct.h and arch/epstruct.h (begin packed struct and end packed struct). You can then put the #pragma pack(1) in bpstruct.h and #pragma data_alignment=4 in epstruct.h. Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["The best things in life aren't things."]------ Opinions==mine _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
