avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #33238] Wrong _VECTORS_SIZE for mega8U2 et al


From: Don Kinzer
Subject: [avr-libc-dev] [bug #33238] Wrong _VECTORS_SIZE for mega8U2 et al
Date: Thu, 05 May 2011 15:52:12 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 GTB7.1

URL:
  <http://savannah.nongnu.org/bugs/?33238>

                 Summary: Wrong _VECTORS_SIZE for mega8U2 et al
                 Project: AVR C Runtime Library
            Submitted by: dkinzer
            Submitted on: Thu 05 May 2011 08:52:11 AM PDT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: libc code
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.1
           Fixed Release: None

    _______________________________________________________

Details:

The mega8U2, mega16U2 and mega32U2 all have 28 interrupt vectors (not
including the reset vector) but the files iom8u2.h, iom16u2.h and iom32u2.h
all have _VECTORS_SIZE set to 38.  Moreover, crtm8u2.o, crtm16u2.o and
crtm32u2.o are all built using this incorrect value resulting in an over-sized
vector table.  The effect of this is only wasted Flash space, of course.

This error was found in the WinAVR_20100110 release and was probably present
in earlier releases as well.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?33238>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]