|Subject:||[avr-gcc-list] Align attribute in gcc requiring alignment of 2 for Xmegas with USB.|
|Date:||Mon, 19 Nov 2012 11:32:11 +0000|
Section 20.13.7 of the Xmega manual speaks about the requirement of 16 bit alignment.
As the MAXIMUM_ALIGNMENT in avr.h is set to 1, it throws an error when trying to compile.
I have attached a patch which sets it to 2 by default in the compiler.
I have also attached a case which fails.
Would this be an acceptable change ?
|[Prev in Thread]||Current Thread||[Next in Thread]|