]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 416-binutils-2.20.1-atxmega384c3.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 416-binutils-2.20.1-atxmega384c3.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2011-09-05 16:08:16.000000000 +0300
3 +++ binutils/size.c     2011-09-05 16:08:24.000000000 +0300
4 @@ -108,6 +108,7 @@ static int return_code = 0;
5  #define AVR200K 204800UL
6  #define AVR256K 262144UL
7  #define AVR264K 270336UL
8 +#define AVR392K 401408UL
9  
10  typedef struct
11  {
12 @@ -119,6 +120,8 @@ typedef struct
13  
14  avr_device_t avr[] =
15  {
16 +       {"atxmega384c3",  AVR392K, AVR32K, AVR4K},
17
18         {"atmega256rfa2", AVR256K, AVR32K, AVR8K},
19         {"atmega256rfr2", AVR256K, AVR32K, AVR8K},
20  
21 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
22 --- gas/config/tc-avr.c 2011-09-05 16:08:16.000000000 +0300
23 +++ gas/config/tc-avr.c 2011-09-05 16:08:24.000000000 +0300
24 @@ -286,6 +286,7 @@ static struct mcu_type_s mcu_types[] =
25    {"atxmega256a3b",AVR_ISA_XMEGA, bfd_mach_avrxmega6},
26    {"atxmega256a3bu",AVR_ISA_XMEGA,bfd_mach_avrxmega6},
27    {"atxmega256d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
28 +  {"atxmega384c3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
29    {"atxmega128a1", AVR_ISA_XMEGA, bfd_mach_avrxmega7},
30    {"atxmega128a1u",AVR_ISA_XMEGA, bfd_mach_avrxmega7},
31    {"attiny4",      AVR_ISA_AVRTINY10, bfd_mach_avrtiny10},
32 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
33 --- gas/doc/c-avr.texi  2011-09-05 16:08:16.000000000 +0300
34 +++ gas/doc/c-avr.texi  2011-09-05 16:08:24.000000000 +0300
35 @@ -104,9 +104,9 @@ atxmega64a1u).
36  Instruction set avrxmega6 is for the XMEGA AVR core with up to 256K program
37  memory space and less than 64K data space (MCU types: atxmega128a3, atxmega128a3u,
38  atxmega128d3, atxmega192a3, atxmega192a3u, atxmega128b1, atxmega192d3, atxmega256a3,
39 -atxmega256a3u, atxmega256a3b, atxmega256a3bu, atxmega192d3).
40 +atxmega256a3u, atxmega256a3b, atxmega256a3bu, atxmega192d3, atxmega384c3).
41  
42 -Instruction set avrxmega7 is for the XMEGA AVR core with up to 256K program
43 +Instruction set avrxmega7 is for the XMEGA AVR core with greater than 64K program
44  memory space and greater than 64K data space (MCU types: atxmega128a1,
45  atxmega128a1u).
46  
This page took 0.038355 seconds and 3 git commands to generate.