]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 431-binutils-2.20.1-atmxt224_224e.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 431-binutils-2.20.1-atmxt224_224e.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2012-01-18 12:59:34.000000000 +0530
3 +++ binutils/size.c     2012-01-18 12:58:46.000000000 +0530
4 @@ -95,6 +95,7 @@ static int return_code = 0;
5  #define AVR2K 2048UL
6  #define AVR4K 4096UL
7  #define AVR8K 8192UL
8 +#define AVR9K 9216UL
9  #define AVR14K 14336UL
10  #define AVR16K 16384UL
11  #define AVR20K 20480UL
12 @@ -218,6 +219,8 @@ avr_device_t avr[] =
13  
14         {"atmega406",     AVR40K,  AVR2K,  AVR512},
15  
16 +       {"atmxt224",      AVR36K,  AVR9K,  0UL},
17 +       {"atmxt224e",     AVR36K,  AVR9K,  0UL},
18         {"atxmega32a4",   AVR36K,  AVR4K,  AVR1K},
19         {"atxmega32a4u",  AVR36K,  AVR4K,  AVR1K},
20         {"atxmega32c4",   AVR36K,  AVR4K,  AVR1K},
21 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
22 --- gas/config/tc-avr.c 2012-01-18 12:59:34.000000000 +0530
23 +++ gas/config/tc-avr.c 2012-01-18 12:58:46.000000000 +0530
24 @@ -272,6 +272,8 @@ static struct mcu_type_s mcu_types[] =
25    {"atmega2561", AVR_ISA_AVR6,    bfd_mach_avr6},
26    {"atmega256rfa2", AVR_ISA_AVR6, bfd_mach_avr6},
27    {"atmega256rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
28 +  {"atmxt224",    AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
29 +  {"atmxt224e",   AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
30    {"atmxt336s",   AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
31    {"atxmega16a4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
32    {"atxmega16a4u",AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
33 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
34 --- gas/doc/c-avr.texi  2012-01-18 12:59:34.000000000 +0530
35 +++ gas/doc/c-avr.texi  2012-01-18 13:02:14.000000000 +0530
36 @@ -89,7 +89,7 @@ atmega2560, atmega2561, atmega256rfa2, a
37  Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program
38  memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16a4u,
39  atxmega16c4, atxmega16d4, atxmega32a4, atxmega32a4u, atxmega32c4, atxmega32d4, 
40 -atxmega32x1, atmxt336s).
41 +atxmega32x1, atmxt224, atmxt224e, atmxt336s).
42  
43  Instruction set avrxmega3 is for the XMEGA AVR core with 8K to 64K program
44  memory space and greater than 64K data space (MCU types: none).
This page took 0.053876 seconds and 3 git commands to generate.