hi Akshit, the MEM_ALIGNMENT value once decided , you should define it in lwipopts.h file. The definations that u define in this file is reflected in the opt.h file. As opt.h file includes this file, it is in the first lines of the opt.h file... have a look...
about MEM_ALIGNEMENT, it depends upon the processor and also in some cases on the inbuilt Ethernet controller. Initially I selected the value 1, by the core was working fine later i found that the inbuilt Ethernet controller works fine if the alignment is 4, so i have to keep it 4. I used MPC 852 processor (32 bit, inbuilt Fast Ethernet Controller). Hope this helps you, :-) *Kind regards,* *kirankumar K B.* *Junior Engg.* *Eaton Tech., INDIA. * On 8/26/08, Akshat Bisht <[EMAIL PROTECTED]> wrote: > > MEM_ALIGNMENT help says value needs to be either 4 or 2. But opt.h has > default value 1. What should this be? I'm using a 32bit ARM7 processor. > > > Thanks > > AB > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > -- Regards, Kirankumar K B M: 9373709346
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
