I'm currently trying to recompile my toolchain with the support for atmegaXXu2 MCUs, but I'm unable to find the patches for binutils 2.20 / gcc 4.4.[23]. There's no new patches for new devices here ( http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-binutils/files/patch-newdevices ) since Jun 2009. Where can I found the latest patches to add the u2 support ?
Thanks in advance, Paul Rathgeb On Fri, 2010-02-05 at 11:28 +0100, Joerg Wunsch wrote: > As Paul Rathgeb wrote: > > > Unfortunately, I don't found informations about the avr-libc support for > > this controller. ATMEGA16U4 seems supported, but I don't know if I can > > use this MCU type for the compilation. > > ATmega16U2 is supported by avr-libc, provided your compiler has been > patched to support it. Presence of respective compiler support is > autodetected when running avr-libc's configure script, and the > respective pieces are omitted if the compiler support is missing. > > I don't have an idea whether the AT90USB162 and the ATmega16U2 are > binary (probably upwards) compatible; however, usually there are > application notes available describing that kind of migration process. > Please see whethere there's one around for this transition, and what > it has to tell about binary compatibilty. Of course, if they are > binary compatible, you could just compile the code for an AT90USB162 > (which is likely to have better support even in somewhat older > toolchain versions). > _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev