aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gcc
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2014-08-14 03:04:18 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2014-08-14 03:04:18 +0000
commit29f7e5a45b05ef3e31f420e73298960fdde658d9 (patch)
tree18404b09a04339dd9ce47e6fadb812616e6ff823 /devel/avr-gcc
parent152bcdd8d0cb9459800d6490afb14341b9eed736 (diff)
downloadports-29f7e5a45b05ef3e31f420e73298960fdde658d9.tar.gz
ports-29f7e5a45b05ef3e31f420e73298960fdde658d9.zip
Notes
Diffstat (limited to 'devel/avr-gcc')
-rw-r--r--devel/avr-gcc/Makefile1
-rw-r--r--devel/avr-gcc/files/patch-400-atmegarfr424
2 files changed, 425 insertions, 0 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index 45c8e774d272..b1355c6ccde7 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gcc
PORTVERSION= 4.8.3
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= releases/gcc-${DISTVERSION}
diff --git a/devel/avr-gcc/files/patch-400-atmegarfr b/devel/avr-gcc/files/patch-400-atmegarfr
new file mode 100644
index 000000000000..d34f22645907
--- /dev/null
+++ b/devel/avr-gcc/files/patch-400-atmegarfr
@@ -0,0 +1,424 @@
+Index: gcc/config/avr/avr-mcus.def
+===================================================================
+--- gcc/config/avr/avr-mcus.def (Revision 213829)
++++ gcc/config/avr/avr-mcus.def (Arbeitskopie)
+@@ -228,6 +228,7 @@
+ AVR_MCU ("atmega64hve", ARCH_AVR5, "__AVR_ATmega64HVE__", 0, 0, 0x0100, 1, "m64hve")
+ AVR_MCU ("atmega64rfa2", ARCH_AVR5, "__AVR_ATmega64RFA2__", 0, 0, 0x0200, 1, "m64rfa2")
+ AVR_MCU ("atmega64rfr2", ARCH_AVR5, "__AVR_ATmega64RFR2__", 0, 0, 0x0200, 1, "m64rfr2")
++AVR_MCU ("atmega644rfr2", ARCH_AVR5, "__AVR_ATmega644RFR2__", 0, 0, 0x0200, 1, "m644rfr2")
+ AVR_MCU ("atmega32hvbrevb", ARCH_AVR5, "__AVR_ATmega32HVBREVB__", 0, 0, 0x0100, 1, "m32hvbrevb")
+ AVR_MCU ("atmega48hvf", ARCH_AVR5, "__AVR_ATmega48HVF__", 0, 0, 0x0100, 1, "m48hvf")
+ AVR_MCU ("at90can32", ARCH_AVR5, "__AVR_AT90CAN32__", 0, 0, 0x0100, 1, "can32")
+@@ -249,6 +250,8 @@
+ AVR_MCU ("atmega1284", ARCH_AVR51, "__AVR_ATmega1284__", 0, 0, 0x0100, 2, "m1284")
+ AVR_MCU ("atmega1284p", ARCH_AVR51, "__AVR_ATmega1284P__", 0, 0, 0x0100, 2, "m1284p")
+ AVR_MCU ("atmega128rfa1", ARCH_AVR51, "__AVR_ATmega128RFA1__", 0, 0, 0x0200, 2, "m128rfa1")
++AVR_MCU ("atmega128rfr2", ARCH_AVR51, "__AVR_ATmega128RFR2__", 0, 0, 0x0200, 2, "m128rfr2")
++AVR_MCU ("atmega1284rfr2", ARCH_AVR51, "__AVR_ATmega1284RFR2__", 0, 0, 0x0200, 2, "m1284rfr2")
+ AVR_MCU ("at90can128", ARCH_AVR51, "__AVR_AT90CAN128__", 0, 0, 0x0100, 2, "can128")
+ AVR_MCU ("at90usb1286", ARCH_AVR51, "__AVR_AT90USB1286__", 0, 0, 0x0100, 2, "usb1286")
+ AVR_MCU ("at90usb1287", ARCH_AVR51, "__AVR_AT90USB1287__", 0, 0, 0x0100, 2, "usb1287")
+@@ -256,6 +259,8 @@
+ AVR_MCU ("avr6", ARCH_AVR6, NULL, 0, 0, 0x0200, 4, "m2561")
+ AVR_MCU ("atmega2560", ARCH_AVR6, "__AVR_ATmega2560__", 0, 0, 0x0200, 4, "m2560")
+ AVR_MCU ("atmega2561", ARCH_AVR6, "__AVR_ATmega2561__", 0, 0, 0x0200, 4, "m2561")
++AVR_MCU ("atmega256rfr2", ARCH_AVR6, "__AVR_ATmega256RFR2__", 0, 0, 0x0200, 4, "m256rfr2")
++AVR_MCU ("atmega2564rfr2", ARCH_AVR6, "__AVR_ATmega2564RFR2__", 0, 0, 0x0200, 4, "m2564rfr2")
+ /* Xmega, 16K <= Flash < 64K, RAM <= 64K */
+ AVR_MCU ("avrxmega2", ARCH_AVRXMEGA2, NULL, 0, 0, 0x2000, 1, "x32a4")
+ AVR_MCU ("atxmega16a4", ARCH_AVRXMEGA2, "__AVR_ATxmega16A4__", 0, 0, 0x2000, 1, "x16a4")
+Index: gcc/config/avr/avr-tables.opt
+===================================================================
+--- gcc/config/avr/avr-tables.opt (Revision 213829)
++++ gcc/config/avr/avr-tables.opt (Arbeitskopie)
+@@ -510,260 +510,275 @@
+ Enum(avr_mcu) String(atmega64rfr2) Value(161)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega32hvbrevb) Value(162)
++Enum(avr_mcu) String(atmega644rfr2) Value(162)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega48hvf) Value(163)
++Enum(avr_mcu) String(atmega32hvbrevb) Value(163)
+
+ EnumValue
+-Enum(avr_mcu) String(at90can32) Value(164)
++Enum(avr_mcu) String(atmega48hvf) Value(164)
+
+ EnumValue
+-Enum(avr_mcu) String(at90can64) Value(165)
++Enum(avr_mcu) String(at90can32) Value(165)
+
+ EnumValue
+-Enum(avr_mcu) String(at90pwm161) Value(166)
++Enum(avr_mcu) String(at90can64) Value(166)
+
+ EnumValue
+-Enum(avr_mcu) String(at90pwm216) Value(167)
++Enum(avr_mcu) String(at90pwm161) Value(167)
+
+ EnumValue
+-Enum(avr_mcu) String(at90pwm316) Value(168)
++Enum(avr_mcu) String(at90pwm216) Value(168)
+
+ EnumValue
+-Enum(avr_mcu) String(at90scr100) Value(169)
++Enum(avr_mcu) String(at90pwm316) Value(169)
+
+ EnumValue
+-Enum(avr_mcu) String(at90usb646) Value(170)
++Enum(avr_mcu) String(at90scr100) Value(170)
+
+ EnumValue
+-Enum(avr_mcu) String(at90usb647) Value(171)
++Enum(avr_mcu) String(at90usb646) Value(171)
+
+ EnumValue
+-Enum(avr_mcu) String(at94k) Value(172)
++Enum(avr_mcu) String(at90usb647) Value(172)
+
+ EnumValue
+-Enum(avr_mcu) String(m3000) Value(173)
++Enum(avr_mcu) String(at94k) Value(173)
+
+ EnumValue
+-Enum(avr_mcu) String(avr51) Value(174)
++Enum(avr_mcu) String(m3000) Value(174)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega128) Value(175)
++Enum(avr_mcu) String(avr51) Value(175)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega128a) Value(176)
++Enum(avr_mcu) String(atmega128) Value(176)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega1280) Value(177)
++Enum(avr_mcu) String(atmega128a) Value(177)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega1281) Value(178)
++Enum(avr_mcu) String(atmega1280) Value(178)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega1284) Value(179)
++Enum(avr_mcu) String(atmega1281) Value(179)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega1284p) Value(180)
++Enum(avr_mcu) String(atmega1284) Value(180)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega128rfa1) Value(181)
++Enum(avr_mcu) String(atmega1284p) Value(181)
+
+ EnumValue
+-Enum(avr_mcu) String(at90can128) Value(182)
++Enum(avr_mcu) String(atmega128rfa1) Value(182)
+
+ EnumValue
+-Enum(avr_mcu) String(at90usb1286) Value(183)
++Enum(avr_mcu) String(atmega128rfr2) Value(183)
+
+ EnumValue
+-Enum(avr_mcu) String(at90usb1287) Value(184)
++Enum(avr_mcu) String(atmega1284rfr2) Value(184)
+
+ EnumValue
+-Enum(avr_mcu) String(avr6) Value(185)
++Enum(avr_mcu) String(at90can128) Value(185)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega2560) Value(186)
++Enum(avr_mcu) String(at90usb1286) Value(186)
+
+ EnumValue
+-Enum(avr_mcu) String(atmega2561) Value(187)
++Enum(avr_mcu) String(at90usb1287) Value(187)
+
+ EnumValue
+-Enum(avr_mcu) String(avrxmega2) Value(188)
++Enum(avr_mcu) String(avr6) Value(188)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega16a4) Value(189)
++Enum(avr_mcu) String(atmega2560) Value(189)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega16d4) Value(190)
++Enum(avr_mcu) String(atmega2561) Value(190)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega16x1) Value(191)
++Enum(avr_mcu) String(atmega256rfr2) Value(191)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega32a4) Value(192)
++Enum(avr_mcu) String(atmega2564rfr2) Value(192)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega32d4) Value(193)
++Enum(avr_mcu) String(avrxmega2) Value(193)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega32x1) Value(194)
++Enum(avr_mcu) String(atxmega16a4) Value(194)
+
+ EnumValue
+-Enum(avr_mcu) String(atmxt112sl) Value(195)
++Enum(avr_mcu) String(atxmega16d4) Value(195)
+
+ EnumValue
+-Enum(avr_mcu) String(atmxt224) Value(196)
++Enum(avr_mcu) String(atxmega16x1) Value(196)
+
+ EnumValue
+-Enum(avr_mcu) String(atmxt224e) Value(197)
++Enum(avr_mcu) String(atxmega32a4) Value(197)
+
+ EnumValue
+-Enum(avr_mcu) String(atmxt336s) Value(198)
++Enum(avr_mcu) String(atxmega32d4) Value(198)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega16a4u) Value(199)
++Enum(avr_mcu) String(atxmega32x1) Value(199)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega16c4) Value(200)
++Enum(avr_mcu) String(atmxt112sl) Value(200)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega32a4u) Value(201)
++Enum(avr_mcu) String(atmxt224) Value(201)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega32c4) Value(202)
++Enum(avr_mcu) String(atmxt224e) Value(202)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega32e5) Value(203)
++Enum(avr_mcu) String(atmxt336s) Value(203)
+
+ EnumValue
+-Enum(avr_mcu) String(avrxmega4) Value(204)
++Enum(avr_mcu) String(atxmega16a4u) Value(204)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64a3) Value(205)
++Enum(avr_mcu) String(atxmega16c4) Value(205)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64d3) Value(206)
++Enum(avr_mcu) String(atxmega32a4u) Value(206)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64a3u) Value(207)
++Enum(avr_mcu) String(atxmega32c4) Value(207)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64a4u) Value(208)
++Enum(avr_mcu) String(atxmega32e5) Value(208)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64b1) Value(209)
++Enum(avr_mcu) String(avrxmega4) Value(209)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64b3) Value(210)
++Enum(avr_mcu) String(atxmega64a3) Value(210)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64c3) Value(211)
++Enum(avr_mcu) String(atxmega64d3) Value(211)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64d4) Value(212)
++Enum(avr_mcu) String(atxmega64a3u) Value(212)
+
+ EnumValue
+-Enum(avr_mcu) String(avrxmega5) Value(213)
++Enum(avr_mcu) String(atxmega64a4u) Value(213)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64a1) Value(214)
++Enum(avr_mcu) String(atxmega64b1) Value(214)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega64a1u) Value(215)
++Enum(avr_mcu) String(atxmega64b3) Value(215)
+
+ EnumValue
+-Enum(avr_mcu) String(avrxmega6) Value(216)
++Enum(avr_mcu) String(atxmega64c3) Value(216)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128a3) Value(217)
++Enum(avr_mcu) String(atxmega64d4) Value(217)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128d3) Value(218)
++Enum(avr_mcu) String(avrxmega5) Value(218)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega192a3) Value(219)
++Enum(avr_mcu) String(atxmega64a1) Value(219)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega192d3) Value(220)
++Enum(avr_mcu) String(atxmega64a1u) Value(220)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega256a3) Value(221)
++Enum(avr_mcu) String(avrxmega6) Value(221)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega256a3b) Value(222)
++Enum(avr_mcu) String(atxmega128a3) Value(222)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega256a3bu) Value(223)
++Enum(avr_mcu) String(atxmega128d3) Value(223)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega256d3) Value(224)
++Enum(avr_mcu) String(atxmega192a3) Value(224)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128a3u) Value(225)
++Enum(avr_mcu) String(atxmega192d3) Value(225)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128b1) Value(226)
++Enum(avr_mcu) String(atxmega256a3) Value(226)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128b3) Value(227)
++Enum(avr_mcu) String(atxmega256a3b) Value(227)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128c3) Value(228)
++Enum(avr_mcu) String(atxmega256a3bu) Value(228)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128d4) Value(229)
++Enum(avr_mcu) String(atxmega256d3) Value(229)
+
+ EnumValue
+-Enum(avr_mcu) String(atmxt540s) Value(230)
++Enum(avr_mcu) String(atxmega128a3u) Value(230)
+
+ EnumValue
+-Enum(avr_mcu) String(atmxt540sreva) Value(231)
++Enum(avr_mcu) String(atxmega128b1) Value(231)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega192a3u) Value(232)
++Enum(avr_mcu) String(atxmega128b3) Value(232)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega192c3) Value(233)
++Enum(avr_mcu) String(atxmega128c3) Value(233)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega256a3u) Value(234)
++Enum(avr_mcu) String(atxmega128d4) Value(234)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega256c3) Value(235)
++Enum(avr_mcu) String(atmxt540s) Value(235)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega384c3) Value(236)
++Enum(avr_mcu) String(atmxt540sreva) Value(236)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega384d3) Value(237)
++Enum(avr_mcu) String(atxmega192a3u) Value(237)
+
+ EnumValue
+-Enum(avr_mcu) String(avrxmega7) Value(238)
++Enum(avr_mcu) String(atxmega192c3) Value(238)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128a1) Value(239)
++Enum(avr_mcu) String(atxmega256a3u) Value(239)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128a1u) Value(240)
++Enum(avr_mcu) String(atxmega256c3) Value(240)
+
+ EnumValue
+-Enum(avr_mcu) String(atxmega128a4u) Value(241)
++Enum(avr_mcu) String(atxmega384c3) Value(241)
+
+ EnumValue
+-Enum(avr_mcu) String(avr1) Value(242)
++Enum(avr_mcu) String(atxmega384d3) Value(242)
+
+ EnumValue
+-Enum(avr_mcu) String(at90s1200) Value(243)
++Enum(avr_mcu) String(avrxmega7) Value(243)
+
+ EnumValue
+-Enum(avr_mcu) String(attiny11) Value(244)
++Enum(avr_mcu) String(atxmega128a1) Value(244)
+
+ EnumValue
+-Enum(avr_mcu) String(attiny12) Value(245)
++Enum(avr_mcu) String(atxmega128a1u) Value(245)
+
+ EnumValue
+-Enum(avr_mcu) String(attiny15) Value(246)
++Enum(avr_mcu) String(atxmega128a4u) Value(246)
+
+ EnumValue
+-Enum(avr_mcu) String(attiny28) Value(247)
++Enum(avr_mcu) String(avr1) Value(247)
+
++EnumValue
++Enum(avr_mcu) String(at90s1200) Value(248)
++
++EnumValue
++Enum(avr_mcu) String(attiny11) Value(249)
++
++EnumValue
++Enum(avr_mcu) String(attiny12) Value(250)
++
++EnumValue
++Enum(avr_mcu) String(attiny15) Value(251)
++
++EnumValue
++Enum(avr_mcu) String(attiny28) Value(252)
++
+Index: gcc/config/avr/t-multilib
+===================================================================
+--- gcc/config/avr/t-multilib (Revision 213829)
++++ gcc/config/avr/t-multilib (Arbeitskopie)
+@@ -195,6 +195,7 @@
+ mmcu?avr5=mmcu?atmega64hve \
+ mmcu?avr5=mmcu?atmega64rfa2 \
+ mmcu?avr5=mmcu?atmega64rfr2 \
++ mmcu?avr5=mmcu?atmega644rfr2 \
+ mmcu?avr5=mmcu?atmega32hvbrevb \
+ mmcu?avr5=mmcu?atmega48hvf \
+ mmcu?avr5=mmcu?at90can32 \
+@@ -214,11 +215,15 @@
+ mmcu?avr51=mmcu?atmega1284 \
+ mmcu?avr51=mmcu?atmega1284p \
+ mmcu?avr51=mmcu?atmega128rfa1 \
++ mmcu?avr51=mmcu?atmega128rfr2 \
++ mmcu?avr51=mmcu?atmega1284rfr2 \
+ mmcu?avr51=mmcu?at90can128 \
+ mmcu?avr51=mmcu?at90usb1286 \
+ mmcu?avr51=mmcu?at90usb1287 \
+ mmcu?avr6=mmcu?atmega2560 \
+ mmcu?avr6=mmcu?atmega2561 \
++ mmcu?avr6=mmcu?atmega256rfr2 \
++ mmcu?avr6=mmcu?atmega2564rfr2 \
+ mmcu?avrxmega2=mmcu?atxmega16a4 \
+ mmcu?avrxmega2=mmcu?atxmega16d4 \
+ mmcu?avrxmega2=mmcu?atxmega16x1 \