[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] -mmcu=avrxmega confusion
From: |
Don Kinzer |
Subject: |
Re: [avr-gcc-list] -mmcu=avrxmega confusion |
Date: |
Mon, 20 Feb 2012 12:30:01 -0800 |
>everything is perfectly reasonable as-is [...]
Considering the file:
http://gcc.gnu.org/viewcvs/trunk/gcc/config/avr/avr-devices.c?revision=184269&view=markup
I believe that the lines in the avr_arch_types array for avrxmega4 and
avrxmega5 should both have a one in the column for ELPM and ELPMX.
The comment should be removed from the avrxmega4 line as it would then
no longer be the same as avrxmega2.
{ 0, 1, 1, 1, 0, 0, 0, 1, 0, 0x2000, 0, 1, "102", "avrxmega2" },
{ 0, 1, 1, 1, 1, 1, 0, 1, 0, 0x2000, 0, 1, "104", "avrxmega4" },
{ 0, 1, 1, 1, 1, 1, 0, 1, 1, 0x2000, 0, 1, "105", "avrxmega5" },
{ 0, 1, 1, 1, 1, 1, 1, 1, 0, 0x2000, 0, 4, "106", "avrxmega6" },
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 0x2000, 0, 4, "107", "avrxmega7" }
Don Kinzer