http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54280

             Bug #: 54280
           Summary: AVR target: -mmcu=atxmega128b support missing
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ha...@debian.org


Forwarding Debian Bug#684226 reported by a...@avarner.servebeer.com:


Using the version of avr-gcc that comes with Atmel Studio 6.0 (for Windows,
unfortunately), -mmcu=atxmega128b1 is accepted:

$ cat xmegab1test.c

#include <avr/io.h>

int main(void)
{
    while(1)
    {
        //TODO:: Please write your application code
    }
}

$ 'C:\Program Files\Atmel\Atmel Studio
6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-gcc' -o /dev/null
-mmcu=atxmega128b1 xmegab1test.c -Wall -Wextra

$ echo $?
0

$ 'C:\Program Files\Atmel\Atmel Studio
6.0\extensions\Atmel\AVRGCC\3.4.0.65\AVRToolchain\bin\avr-gcc' --version
avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.4.0_663) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Reply via email to