]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 422-binutils-atxmega384d3.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 422-binutils-atxmega384d3.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2011-12-22 12:45:34.000000000 +0530
3 +++ binutils/size.c     2011-12-22 12:45:45.000000000 +0530
4 @@ -110,6 +110,7 @@ static int return_code = 0;
5  #define AVR200K 204800UL
6  #define AVR256K 262144UL
7  #define AVR264K 270336UL
8 +#define AVR384K 393216UL
9  #define AVR392K 401408UL
10  
11  typedef struct
12 @@ -123,6 +124,8 @@ typedef struct
13  avr_device_t avr[] =
14  {
15         {"atxmega384c3",  AVR392K, AVR32K, AVR4K},
16 +
17 +       {"atxmega384d3",  AVR384K, AVR16K, AVR4K},
18   
19         {"atmega256rfa2", AVR256K, AVR32K, AVR8K},
20         {"atmega256rfr2", AVR256K, AVR32K, AVR8K},
21 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
22 --- gas/config/tc-avr.c 2011-12-22 12:45:34.000000000 +0530
23 +++ gas/config/tc-avr.c 2011-12-22 12:46:09.000000000 +0530
24 @@ -310,6 +310,7 @@ static struct mcu_type_s mcu_types[] =
25    {"atxmega256c3", AVR_ISA_XMEGAU, bfd_mach_avrxmega6},
26    {"atxmega256d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
27    {"atxmega384c3", AVR_ISA_XMEGAU, bfd_mach_avrxmega6},
28 +  {"atxmega384d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
29    {"atxmega128a1", AVR_ISA_XMEGA, bfd_mach_avrxmega7},
30    {"atxmega128a1u", AVR_ISA_XMEGA, bfd_mach_avrxmega7},
31    {"atxmega128a4u", AVR_ISA_XMEGAU, bfd_mach_avrxmega7},
32 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
33 --- gas/doc/c-avr.texi  2011-12-22 12:45:34.000000000 +0530
34 +++ gas/doc/c-avr.texi  2011-12-22 12:45:45.000000000 +0530
35 @@ -106,7 +106,7 @@ Instruction set avrxmega6 is for the XME
36  memory space and less than 64K data space (MCU types: atxmega128a3, atxmega128a3u,
37  atxmega128c3, atxmega128d3, atxmega128d4, atxmega192a3, atxmega192a3u, atxmega128b1,
38  atxmega128b3, atxmega192d3, atxmega256a3, atxmega256a3u, atxmega256a3b, atxmega256a3bu,
39 -atxmega256c3, atxmega256d3, atxmega384c3).
40 +atxmega256c3, atxmega256d3, atxmega384c3, atxmega384d3).
41  
42  Instruction set avrxmega7 is for the XMEGA AVR core with greater than 64K program
43  memory space and greater than 64K data space (MCU types: atxmega128a1,
This page took 0.138731 seconds and 3 git commands to generate.