]> git.pld-linux.org Git - packages/crossavr-gcc.git/blobdiff - 414-gcc-4.5.1-atxmega64_128_b3.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-gcc.git] / 414-gcc-4.5.1-atxmega64_128_b3.patch
diff --git a/414-gcc-4.5.1-atxmega64_128_b3.patch b/414-gcc-4.5.1-atxmega64_128_b3.patch
new file mode 100644 (file)
index 0000000..c38c134
--- /dev/null
@@ -0,0 +1,38 @@
+diff -Naurp gcc/config/avr/avr-devices.c gcc/config/avr/avr-devices.c
+--- gcc/config/avr/avr-devices.c       2011-09-05 14:52:39.000000000 +0300
++++ gcc/config/avr/avr-devices.c       2011-09-05 14:55:31.000000000 +0300
+@@ -276,6 +276,7 @@ const struct mcu_type_s avr_mcu_types[] 
+   { "avrxmega4",    ARCH_AVRXMEGA4, NULL,                           0, 0x2000, "x64d3" },
+   { "atxmega64a3",  ARCH_AVRXMEGA4, "__AVR_ATxmega64A3__",          0, 0x2000, "x64a3" },
+   { "atxmega64a3u", ARCH_AVRXMEGA4, "__AVR_ATxmega64A3U__",         0, 0x2000, "x64a3u"},
++  { "atxmega64b3",  ARCH_AVRXMEGA4, "__AVR_ATxmega64B3__",          0, 0x2000, "x64b3"},
+   { "atxmega64d3",  ARCH_AVRXMEGA4, "__AVR_ATxmega64D3__",          0, 0x2000, "x64d3" },
+   { "atxmega64d4",  ARCH_AVRXMEGA4, "__AVR_ATxmega64D4__",          0, 0x2000, "x64d4" },
+     /* Xmega, >= 64K, < 128K FLASH, > 64K RAM.  */
+@@ -287,6 +288,7 @@ const struct mcu_type_s avr_mcu_types[] 
+   { "atxmega128a3", ARCH_AVRXMEGA6, "__AVR_ATxmega128A3__",         0, 0x2000, "x128a3" },
+   { "atxmega128a3u",ARCH_AVRXMEGA6, "__AVR_ATxmega128A3U__",        0, 0x2000, "x128a3u"},
+   { "atxmega128b1", ARCH_AVRXMEGA6, "__AVR_ATxmega128B1__",         0, 0x2000, "x128b1" },
++  { "atxmega128b3", ARCH_AVRXMEGA6, "__AVR_ATxmega128B3__",         0, 0x2000, "x128b3" },
+   { "atxmega128d3", ARCH_AVRXMEGA6, "__AVR_ATxmega128D3__",         0, 0x2000, "x128d3" },
+   { "atxmega192a3", ARCH_AVRXMEGA6, "__AVR_ATxmega192A3__",         0, 0x2000, "x192a3" },
+   { "atxmega192a3u",ARCH_AVRXMEGA6, "__AVR_ATxmega192A3U__",        0, 0x2000, "x192a3u"},
+diff -Naurp gcc/config/avr/t-avr gcc/config/avr/t-avr
+--- gcc/config/avr/t-avr       2011-09-05 14:52:39.000000000 +0300
++++ gcc/config/avr/t-avr       2011-09-05 14:56:06.000000000 +0300
+@@ -287,6 +287,7 @@ MULTILIB_MATCHES = \
+       mmcu?avrxmega2=mmcu?atxmega32x1 \
+       mmcu?avrxmega4=mmcu?atxmega64a3 \
+       mmcu?avrxmega4=mmcu?atxmega64a3u \
++      mmcu?avrxmega4=mmcu?atxmega64b3 \
+       mmcu?avrxmega4=mmcu?atxmega64d3 \
+       mmcu?avrxmega4=mmcu?atxmega64d4 \
+       mmcu?avrxmega5=mmcu?atxmega64a1 \
+@@ -294,6 +295,7 @@ MULTILIB_MATCHES = \
+       mmcu?avrxmega6=mmcu?atxmega128a3 \
+       mmcu?avrxmega6=mmcu?atxmega128a3u \
+       mmcu?avrxmega6=mmcu?atxmega128b1 \
++      mmcu?avrxmega6=mmcu?atxmega128b3 \
+       mmcu?avrxmega6=mmcu?atxmega128d3 \
+       mmcu?avrxmega6=mmcu?atxmega192a3 \
+       mmcu?avrxmega6=mmcu?atxmega192a3u \
This page took 0.028787 seconds and 4 git commands to generate.