Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 03:04:18 +0000 (UTC)
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364823 - in head/devel/avr-gcc: . files
Message-ID:  <201408140304.s7E34IA9011543@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joerg
Date: Thu Aug 14 03:04:18 2014
New Revision: 364823
URL: http://svnweb.freebsd.org/changeset/ports/364823
QAT: https://qat.redports.org/buildarchive/r364823/

Log:
  Add a patch for ATmega*RFR*, as has already been promised in the
  pkg-descr file.

Added:
  head/devel/avr-gcc/files/patch-400-atmegarfr   (contents, props changed)
Modified:
  head/devel/avr-gcc/Makefile

Modified: head/devel/avr-gcc/Makefile
==============================================================================
--- head/devel/avr-gcc/Makefile	Thu Aug 14 01:52:49 2014	(r364822)
+++ head/devel/avr-gcc/Makefile	Thu Aug 14 03:04:18 2014	(r364823)
@@ -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}

Added: head/devel/avr-gcc/files/patch-400-atmegarfr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avr-gcc/files/patch-400-atmegarfr	Thu Aug 14 03:04:18 2014	(r364823)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408140304.s7E34IA9011543>