From: Brian Drummond <brian_drummond@btconnect.com>
Subject: Re: USB Boarduino on AVR-Ada Tutorial
Date: Tue, 24 Aug 2010 12:37:04 +0100
Date: 2010-08-24T12:37:04+01:00 [thread overview]
Message-ID: <vga77651adnfk9oopftbeqs6aran8hn237@4ax.com> (raw)
In-Reply-To: 20100823122931.d7f4a22c.tero.koskinen@iki.fi
On Mon, 23 Aug 2010 12:29:31 +0300, Tero Koskinen <tero.koskinen@iki.fi> wrote:
>> None of the obvious (to me) approaches to installing the tools have worked
>> smoothly on my machine (running OpenSuse 11.3).
>>
>> The closest I've got is using the cross-avr-binutils (2.20) and cross-avr-gcc
>> (4.5.0) packages from OpenSuse, available as binary and source rpms.
>
>I have AVR-GCC 4.5.0 with Ada support and AVR-Ada 1.1.0 RPM .spec files
>for Fedora 13 available at http://iki.fi/tero.koskinen/avr-gnat/
>
>They should probably work out of the box with Arduino (atmega328p),
>but I think I disabled support for all other chipsets[1] because it was
>easier (for me) that way.
Thanks to you and David for further suggestions.
Building the 4.3 toolset using GCC4.5 would be non-trivial, involving patching
the sources (the previously mentioned failure in binutils2.19, tc-avr.c turns
out to be a negative enum! GCC4.5 objects to this - the "solution" in 2.20 is to
cast it to an int...)
The atmega328p is not the only AVR I want to target, so I may have work to do if
I use these. But it's good to know there's life in AVR-GCC 4.5 despite the
number of online sources reporting you need 4.3.x. If my current build runs into
difficulty I'll take a look at these rpms.
I had to disable *some* devices to build avr-libc 1.70 with GCC4.5.0 (or 4.5.1),
because the compiler didn't recognise them, and didn't report correctly
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261
But not many. (why did the source rpm named 4.5.0 build a compiler identifying
itself as 4.5.1, I wonder?)
- Brian
next prev parent reply other threads:[~2010-08-24 11:37 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 2:50 USB Boarduino on AVR-Ada Tutorial Warren
2010-08-04 10:52 ` Brian Drummond
2010-08-04 12:42 ` Warren
2010-08-04 13:13 ` Warren
2010-08-04 21:26 ` Brian Drummond
2010-08-05 0:59 ` Warren
2010-08-22 22:41 ` Brian Drummond
2010-08-23 9:29 ` Tero Koskinen
2010-08-24 11:37 ` Brian Drummond [this message]
2010-08-24 12:25 ` Ludovic Brenta
2010-08-23 15:28 ` Warren
2010-08-23 22:08 ` Brian Drummond
2010-08-24 9:07 ` David Sauvage
2010-08-24 11:15 ` Brian Drummond
2010-08-24 13:40 ` Warren
2010-08-24 12:12 ` Brian Drummond
2010-08-05 14:53 ` Brian Drummond
2010-08-16 14:16 ` Warren
2010-08-23 22:10 ` Brian Drummond
2010-08-26 0:26 ` b.robinson.jp
2010-08-26 7:48 ` David Sauvage
2010-08-26 12:59 ` Warren
2010-08-27 1:44 ` b.robinson.jp
2010-08-27 12:51 ` Warren
2010-09-02 3:39 ` b.robinson.jp
2010-09-02 16:11 ` Charmed Snark
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox