8 byte alignment

Posted by Jokke on March 7, 2007
Some hardware requires 8 byte alignment of variables (MAC modules of Atmel I know about). With no cost this could be added to freeRTOS: just add these lines to heap_1 and heap_2:

#if portBYTE_ALIGNMENT == 8
#define heapBYTE_ALIGNMENT_MASK( ( size_t ) 0x0007 )
#endif

Could this be done in the next version of the distro? (I try to reduce my work when OS is updated).

Regards

RE: 8 byte alignment

Posted by Richard on March 7, 2007
I have updated the copies under Subversion to make sure it gets into the next release.

Regards.

RE: 8 byte alignment

Posted by Jokke on March 8, 2007
Great!