[AVR] [4.3, 4.2] Commited: Fix support of AT90USB82 device.

Anatoly Sokolov aesok@post.ru
Wed Mar 28 08:04:00 GMT 2007


Hello.

  The AT90USB82 device is in 'avr5' architecture, instead of in 'avr4'.  

2007-03-27  Anatoly Sokolov <aesok@post.ru>

	* config/avr/avr.c (avr_mcu_types): Move at90usb82 device to 'avr4' 
	architecture.

Index: gcc/config/avr/avr.c
===================================================================
--- gcc/config/avr/avr.c	(revision 123272)
+++ gcc/config/avr/avr.c	(working copy)
@@ -208,7 +208,7 @@
   { "at90pwm1",  4, "__AVR_AT90PWM1__" },
   { "at90pwm2",  4, "__AVR_AT90PWM2__" },
   { "at90pwm3",  4, "__AVR_AT90PWM3__" },
-  { "at90usb82",   5, "__AVR_AT90USB82__" },
+  { "at90usb82",   4, "__AVR_AT90USB82__" },
     /* Enhanced, > 8K.  */
   { "avr5",      5, NULL },
   { "atmega16",  5, "__AVR_ATmega16__" },


Anatoly.



More information about the Gcc-patches mailing list