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/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev