Re: [patch,avr] typo in avr-mcus
Denis Chertykov <[email protected]>
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <CADOs=zYeeFNFK2MdUduQEbDRWjh6=S9o9V=oFRE9Ddb0FEvgYw@mail.gmail.com> |
2014-04-16 9:23 GMT+04:00 S, Pitchumani <[email protected]>: > Hi Denis, > > There is a typo in last commit to avr-mcus.def. > Device macro for atxmega256a3bu was wrong. It should be "__AVR_ATxmega256A3BU__". > > Below is the patch. Please commit if Ok. > > diff --git a/gcc/config/avr/avr-mcus.def b/gcc/config/avr/avr-mcus.def > index 3cf2fcd..483a303 100644 > --- a/gcc/config/avr/avr-mcus.def > +++ b/gcc/config/avr/avr-mcus.def > @@ -291,7 +291,7 @@ AVR_MCU ("atxmega192a3", ARCH_AVRXMEGA6, AVR_ISA_NONE, "__AVR_ATxmega192A3__ > AVR_MCU ("atxmega192d3", ARCH_AVRXMEGA6, AVR_ISA_NONE, "__AVR_ATxmega192D3__", 0x2000, 4, "x192d3") > AVR_MCU ("atxmega256a3", ARCH_AVRXMEGA6, AVR_ISA_NONE, "__AVR_ATxmega256A3__", 0x2000, 5, "x256a3") > AVR_MCU ("atxmega256a3b", ARCH_AVRXMEGA6, AVR_ISA_NONE, "__AVR_ATxmega256A3B__", 0x2000, 5, "x256a3b") > -AVR_MCU ("atxmega256a3bu", ARCH_AVRXMEGA6, AVR_ISA_NONE, "__AVR_ATxmega258A3BU__", 0x2000, 5, "x256a3bu") > +AVR_MCU ("atxmega256a3bu", ARCH_AVRXMEGA6, AVR_ISA_NONE, "__AVR_ATxmega256A3BU__", 0x2000, 5, "x256a3bu") > AVR_MCU ("atxmega256d3", ARCH_AVRXMEGA6, AVR_ISA_NONE, "__AVR_ATxmega256D3__", 0x2000, 5, "x256d3") > AVR_MCU ("atxmega128a3u", ARCH_AVRXMEGA6, AVR_ISA_RMW, "__AVR_ATxmega128A3U__", 0x2000, 3, "x128a3u") > AVR_MCU ("atxmega128b1", ARCH_AVRXMEGA6, AVR_ISA_RMW, "__AVR_ATxmega128B1__", 0x2000, 3, "x128b1") > > Regards, > Pitchumani > > 2014-04-16 Pitchumani Sivanupandi <[email protected]> > > * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro. > Committed. Denis.