Commit graph

40 commits

Author SHA1 Message Date
Joerg Wunsch
39ccf57d02 Upgrade to GCC 4.3.4, as well as to the patches from WinAVR 20100110 2010-03-08 19:53:44 +00:00
Joerg Wunsch
045744a953 Update the Xmega patch. Among adding support for some newer
Xmega MCU types, this adds an important bugfix for printf & Co.
functions.
2009-08-12 19:27:23 +00:00
Joerg Wunsch
54b0b2e541 Update to GCC 4.3.2.
(The old port will be migrated to devel/avr-gcc-42 within the next
days.)
2009-06-11 21:39:08 +00:00
Joerg Wunsch
a523b50096 Add support for ATtiny88, ATmega32HVB, ATmega1284P.
Fix support for AT90USB82/162, move them into "avr35" architecture.
Add support for the OS_main and OS_task attributes.

Integrate some more bugfixes from the WinAVR patch list.
2007-12-20 06:43:20 +00:00
Joerg Wunsch
d9ba8c2135 Upgrade to GCC 4.2.2 2007-10-28 10:01:30 +00:00
Joerg Wunsch
16aee5cd10 Add device support for ATmega8HVA/ATmega16HVA.
Change AT90USB82 from avr5 to avr5.
2007-06-23 21:30:40 +00:00
Joerg Wunsch
3996c2c926 Minor fix for AT90USB* devices.
Submitted by:	Anatoly Sokolov

Also spell-fix `PORTREVISION' *blush*.
2007-04-11 16:08:18 +00:00
Joerg Wunsch
6cc7ee7ef2 Upgrade to GCC 4.1.2.
Add support for AT90PWM1, ATmega32[59]0?P, AT90USB82/162.
2007-04-07 05:37:51 +00:00
Joerg Wunsch
60ba18f36c OK, I bite. Implement the patch from PR ports/96407, to avoid the
-mcpu=foobar braindeadness.

There's a GCC bug open for this:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
so at least, the issue is being dealt with in its origin.

Submitted by:	Alex Mogilnikov <alx@intellectronika.ru>
PR:		ports/96407
2006-10-10 10:24:51 +00:00
Joerg Wunsch
48e98e9e98 Copy over the avr-gcc-devel port to avr-gcc, so this will become the
default AVR-GCC version now.

No repocopy as this port used to exist before.  For the history details,
see the old avr-gcc-devel port (going to be moved to Attic now).
2006-10-06 20:43:57 +00:00
Joerg Wunsch
1e797b46c4 devel/avr-gcc has been repocopied to devel/avr-gcc-3, so to make room
for devel/avr-gcc-devel taking over the role of the default AVR-GCC
port now.
2006-10-05 21:56:21 +00:00
Joerg Wunsch
39b22ee0a4 Fix the link specification in the patch so ATmega*P devices will get
their correct -Tdata option passed down.

Submitted by:	Anatoly Sokolov
2006-04-20 20:32:32 +00:00
Joerg Wunsch
f7dfe1d53a Rename ATmega164/324 to ATmega164P/324P, add support for ATmega644P,
ATmega165P, and ATmega169P.
2006-04-19 10:48:48 +00:00
Joerg Wunsch
0a21728cdf Upgrade to GCC 3.4.6.
Add support for ATmega406 and AT90USB646/647/1286/1286 devices.
Register conflict for avr-gcc-devel port (GCC 4.1-based, to come soon).
2006-03-19 22:38:09 +00:00
Joerg Wunsch
fb2d1c1563 Fix the severe bug (faulty code generation) reported in
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26118>

by reverting the GCC change that obviously caused it.

Approved by:	portmgr (krion)
2006-03-02 10:51:55 +00:00
Joerg Wunsch
aed756d9c9 Add support for ATtiny261/461/861. 2006-01-04 23:17:26 +00:00
Joerg Wunsch
4df6ca67ac Upgrade to GCC 3.4.5, and add support for ATtiny24/44/84 devices. 2005-12-14 22:42:16 +00:00
Joerg Wunsch
55cd38c9e0 Add support for the AT90CAN32/64 controllers.
By the same time, also drag in the patch for catching
misspelled interrupt vector names from the 4.x branch of
GCC.
2005-11-04 20:51:33 +00:00
Joerg Wunsch
6e31127d60 Add support for the ATmega640/1280/1281 family. 2005-09-12 22:03:43 +00:00
Joerg Wunsch
c02fa49b4d Oops, a double slash sneaked into the linker spec, causing GCC to
recurse infinitely, until it hit an abort().
2005-09-01 20:52:38 +00:00
Joerg Wunsch
d704479608 Add back support for the ATmega165. 2005-09-01 05:22:23 +00:00
Joerg Wunsch
d57a2a1f0b Fix the linker command (in GCC's specs file) for the AT90PWM2/3
controllers.

Approved by:	portmgr (linimon)
2005-08-17 14:41:01 +00:00
Joerg Wunsch
dabc6d3c63 Remove a superfluous part of a patch (patching a .orig file resulting from
a previous patch).

No PORTREVISION bump as the resulting binaries are identical.
2005-08-01 13:48:52 +00:00
Joerg Wunsch
4f725f7b2f Upgrade AVR-GCC to GCC-3.4.4.
By the same time, combine all the patches that add support for new AVR
devices into a single patch, as they all touch the same three source
files.  In total, add support for the following AVR devices that were
not supported by the stock GCC 3.4.x:

  ATtiny13/ATtiny2313
  ATtiny25/ATtiny45/ATtiny85
  ATmega48/ATmega88/ATmega168
  AT90PWM2/AT90PWM3
  ATmega164/ATmega324/ATmega644
  ATmega325/ATmega3250/ATmega645/ATmega6450
  ATmega329/ATmega3290/ATmega649/ATmega6490
  AT90CAN128

(This is now documented in pkg-descr as well.)
2005-07-30 21:28:49 +00:00
Joerg Wunsch
96fe03484f Bring in some patches from the head of GCC's CVS back to the latest
released version, 3.4.3.  This mainly adds support for new AVR devices
that appeared on the market recently, and fixes a bug related to the
order of assignments for volatile uint16_t * objects (in the
assumption they might point to IO space where the order of two 8-bit
operations can be important).
2005-03-10 21:14:44 +00:00
Joerg Wunsch
498f4c719f Upgrade to GCC version 3.4.3.
Note that I do not longer support FreeBSD 4.x at this point, as their
system-provided Pod::Man is way too old, and I'm tired of rolling that
extra man page tarball.  Software developers can IMHO reasonably be
expected to run some version of FreeBSD 5.x these days.
2005-01-27 09:51:36 +00:00
Joerg Wunsch
464f3cfdfa Switch from MASTER_SITE_GNU to MASTER_SITE_GCC; it seems the GNU mirrors
aren't up-to-date for GCC these days.

Also, document the 0b binary constants hack committed a few hours ago.
2004-07-07 19:49:07 +00:00
Joerg Wunsch
d04fd3fae8 Upgrade AVR-GCC to GCC 3.4.1.
Also included is a local hack to allow for 0bXXX binary constants,
since this appears to be a frequently requested item in the AVR
developers community.

The GCC configuration is tuned to allow for both, -gstabs [the default
if only -g is given], and -gdwarf-2 debugging options.  ELF/DWARF-2 is
the emerging format as promoted by Atmel, and is intented to be
directly usable in their AVR Studio simulator in future.  Eventually,
AVR-GDB will fully support DWARF-2 debugging as well some day.
2004-07-07 11:29:23 +00:00
Joerg Wunsch
a147ec1d20 Upgrade to GCC 3.4.0.
This also makes the port compile (again) under all 64-bit archs.  For
amd64, patch-ad modifies config.guess to match GCC's expectation of
x86_64.
2004-04-28 20:53:33 +00:00
Joerg Wunsch
0baf37d9f9 Replace my old 16 bit IO register assignment hack by an authoritative
patch by the avr-gcc maintainers.

Bump portrevision for that.
2003-01-20 09:32:48 +00:00
Joerg Wunsch
4310ca870e Update to a more recent snapshot, now taken from gcc's 3.3 branch instead
of the head of CVS.
2003-01-08 22:44:41 +00:00
Joerg Wunsch
0c7b82aff6 Update to a recent snapshot. Among others, this fixes an issue with
the generation of code that fed up recent versions of gas.  The
pseudo-symbol _PC_ is now completely eliminated from the generated
code, and replaced by the location counter `.'.
2002-10-06 18:21:40 +00:00
Joerg Wunsch
49ba60eebe Update to version 2002.09.01. Included are a couple of private
patches that were floating through the avr-gcc and avr-libc
mailinglists, just for the time being until they might have been
integrated into gcc's CVS.

Portname changed from dashes in the snap date to dots so portupgrade
doesn't get confused about it.  Thanks to Brian Dean for the hint.
2002-09-01 12:13:57 +00:00
Joerg Wunsch
d447dfda79 Now that gcc renamed the head of their CVS from 3.2 to 3.3, update this
port since avr-libc-current has avr-gcc 3.3 as their prerequisite.
2002-08-12 14:04:09 +00:00
Joerg Wunsch
d7e48044a5 Forgot to cvs add this patch in the previous commit. It (finally!) omits
re-installing avr-c++filt which is already present from avr-binutils.
2002-07-03 19:33:43 +00:00
Joerg Wunsch
d6adec0038 Mega-upgrade of the AVR GNU toolchain, step #2:
Upgrade to a development version of GCC 3.2.  New AVR microcontrollers are
introduced with faster pace than new versions of GCC :), so we need the
development version to support recent AVR chips (like the ATmega 128).

Alas, official GCC snapshot tarballs still track the 3.1.x branch, so i
got to CVS checkout and roll my own tarball.
2002-07-03 19:20:58 +00:00
Joerg Wunsch
94b00b5e27 Include the C++ compiler. Certainly of limited use for a
microcontroller, but i got interested to get a complex FFT working.

No stdlibc++ support at this time.
2001-08-12 20:18:25 +00:00
Joerg Wunsch
985d9eea61 Upgrade to the released version of gcc 3.0. 2001-08-12 15:15:21 +00:00
Joerg Wunsch
dc5fae400f Upgrade to a development snapshot of gcc-3. Target `avr' is now
supported natively, so no external patches needed anymore.

Note that this port requires up-to-date avr-binutils, since a few things
in the assembler syntax have been changed.

Not yet tested on the alpha platform.
2001-04-20 13:52:28 +00:00
Joerg Wunsch
8cf5d0f539 Crude hack to get all this running on the alpha architecutre as well.
Since gcc (in the assumption of generating a native compiler) doesn't
want to cbe configured for an alpha*-*-freebsd* system, we hack the
configure script to allow this (similarly to netbsd).  In the end, all
this will be ignored anyway since it's getting to become a
cross-compiler.
2001-03-15 17:02:30 +00:00