Patch #2071 2007-06-21 22:20

pauliusz

GNUAVR: mcu list update
Download
2071-GNUAVR_mcu_lis.patch (10.4 KB)
Category
Plugin::Refinement
Status
Accepted
Close date
2007-07-25 12:04
Assigned to
 
Index: src/plugins/compilergcc/compilerGNUAVR.cpp
===================================================================
--- src/plugins/compilergcc/compilerGNUAVR.cpp    (revision 4220)
+++ src/plugins/compilergcc/compilerGNUAVR.cpp    (working copy)
@@ -100,44 +100,98 @@
     m_Options.AddOption(_("Expensive optimizations"), _T("-fexpensive-optimizations"), category);
     // machine dependent options - cpu arch
     category = _("AVR CPU architecture specific");
-    m_Options.AddOption(_("avr1 (only assembler)"), _T("-mmcu=avr1"), category);
-    m_Options.AddOption(_("at90s1200 (only assembler)"), _T("-mmcu=at90s1200"), category);
-    m_Options.AddOption(_("attiny10 (only assembler)"), _T("-mmcu=attiny10"), category);
-    m_Options.AddOption(_("attiny11 (only assembler)"), _T("-mmcu=attiny11"), category);
-    m_Options.AddOption(_("attiny12 (only assembler)"), _T("-mmcu=attiny12"), category);
-    m_Options.AddOption(_("attiny15 (only assembler)"), _T("-mmcu=attiny15"), category);
-    m_Options.AddOption(_("attiny28 (only assembler)"), _T("-mmcu=attiny28"), category);
-    m_Options.AddOption(_("avr2"), _T("-mmcu=avr2"), category);
-    m_Options.AddOption(_("at90s2313"), _T("-mmcu=at90s2313"), category);
-    m_Options.AddOption(_("at90s2323"), _T("-mmcu=at90s2323"), category);
-    m_Options.AddOption(_("attiny22"), _T("-mmcu=attiny22"), category);
-    m_Options.AddOption(_("at90s2333"), _T("-mmcu=at90s2333"), category);
-    m_Options.AddOption(_("at90s2343"), _T("-mmcu=at90s2343"), category);
-    m_Options.AddOption(_("at90s4414"), _T("-mmcu=at90s4414"), category);
-    m_Options.AddOption(_("at90s4433"), _T("-mmcu=at90s4433"), category);
-    m_Options.AddOption(_("at90s4434"), _T("-mmcu=at90s4434"), category);
-    m_Options.AddOption(_("at90s8515"), _T("-mmcu=at90s8515"), category);
-    m_Options.AddOption(_("at90c8534"), _T("-mmcu=at90c8534"), category);
-    m_Options.AddOption(_("at90s8535"), _T("-mmcu=at90s8535"), category);
-    m_Options.AddOption(_("avr3"), _T("-mmcu=avr3"), category);
-    m_Options.AddOption(_("atmega103"), _T("-mmcu=atmega103"), category);
-    m_Options.AddOption(_("atmega603"), _T("-mmcu=atmega603"), category);
-    m_Options.AddOption(_("at43usb320"), _T("-mmcu=at43usb320"), category);
-    m_Options.AddOption(_("at76c711"), _T("-mmcu=at76c711"), category);
-    m_Options.AddOption(_("avr4"), _T("-mmcu=avr4"), category);
-    m_Options.AddOption(_("atmega8"), _T("-mmcu=atmega8"), category);
-    m_Options.AddOption(_("atmega83"), _T("-mmcu=atmega83"), category);
-    m_Options.AddOption(_("atmega85"), _T("-mmcu=atmega85"), category);
-    m_Options.AddOption(_("avr5"), _T("-mmcu=avr5"), category);
-    m_Options.AddOption(_("atmega16"), _T("-mmcu=atmega16"), category);
-    m_Options.AddOption(_("atmega161"), _T("-mmcu=atmega161"), category);
-    m_Options.AddOption(_("atmega163"), _T("-mmcu=atmega163"), category);
-    m_Options.AddOption(_("atmega32"), _T("-mmcu=atmega32"), category);
-    m_Options.AddOption(_("atmega323"), _T("-mmcu=atmega323"), category);
-    m_Options.AddOption(_("atmega64"), _T("-mmcu=atmega64"), category);
-    m_Options.AddOption(_("atmega128"), _T("-mmcu=atmega128"), category);
-    m_Options.AddOption(_("at43usb355"), _T("-mmcu=at43usb355"), category);
-    m_Options.AddOption(_("at94k"), _T("-mmcu=at94k"), category);
+    m_Options.AddOption(_("AVR 1 architecture (only assembler)"), _T("-mmcu=avr1"), category);
+    m_Options.AddOption(_("AT90S1200 (only assembler)"), _T("-mmcu=at90s1200"), category);
+    m_Options.AddOption(_("ATtiny11 (only assembler)"), _T("-mmcu=attiny11"), category);
+    m_Options.AddOption(_("ATtiny12 (only assembler)"), _T("-mmcu=attiny12"), category);
+    m_Options.AddOption(_("ATtiny15 (only assembler)"), _T("-mmcu=attiny15"), category);
+    m_Options.AddOption(_("ATtiny28 (only assembler)"), _T("-mmcu=attiny28"), category);
+    m_Options.AddOption(_("AVR 2 archtecture"), _T("-mmcu=avr2"), category);
+    m_Options.AddOption(_("AT90S2313"), _T("-mmcu=at90s2313"), category);
+    m_Options.AddOption(_("AT90S2323"), _T("-mmcu=at90s2323"), category);
+    m_Options.AddOption(_("AT90S2333"), _T("-mmcu=at90s2333"), category);
+    m_Options.AddOption(_("AT90S2343"), _T("-mmcu=at90s2343"), category);
+    m_Options.AddOption(_("ATtiny22"), _T("-mmcu=attiny22"), category);
+    m_Options.AddOption(_("ATtiny26"), _T("-mmcu=attiny26"), category);
+    m_Options.AddOption(_("AT90S4414"), _T("-mmcu=at90s4414"), category);
+    m_Options.AddOption(_("AT90S4433"), _T("-mmcu=at90s4433"), category);
+    m_Options.AddOption(_("AT90S4434"), _T("-mmcu=at90s4434"), category);
+    m_Options.AddOption(_("AT90S8515"), _T("-mmcu=at90s8515"), category);
+    m_Options.AddOption(_("AT90C8534"), _T("-mmcu=at90c8534"), category);
+    m_Options.AddOption(_("AT90s8535"), _T("-mmcu=at90s8535"), category);
+    m_Options.AddOption(_("AVR 2.5 architecture"), _T("-mmcu=avr25"), category);
+    m_Options.AddOption(_("ATtiny13"), _T
download for full patch...
pauliusz 2007-06-21 22:22

According to GCC 4.2.0

Should be almost compatible with processors current supported by WinAVR

pauliusz 2007-07-04 21:13

Update: Only cosmetic changes

mandrav 2007-07-25 12:04

Patch applied.