|
From: | Thomas, George |
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.
http://www.atmel.com/images/doc8331.pdf 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 ? -George- |
case.c
Description: case.c
XmegaAlignment.patch
Description: XmegaAlignment.patch
[Prev in Thread] | Current Thread | [Next in Thread] |