AVR-GCC on Linux

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In the latest Atmel Applications Journal (registration required), they have a couple of articles for setting up AVR-GCC under Linux. Unfortunately, when I tried to follow the instructions, some of the links weren't working.

However, while googling around for alternative download sites, I found Rod Moffitt's site, here.

He mirrors all the packages he used, and also has a build script that drives the whole process, so you don't have to worry about separate steps for compilation of each tool.

It also uses GCC 3.4.3, which is more recent than the version linked in the AAJ article (which was 3.3.1).

I haven't compiled anything with it yet, but this site hasn't been mentioned here before (that I can see) so I thought I'd share it...

Sean.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's been mentioned recently on the avr-gcc-list mailing list. You should subscribe. ;)
http://savannah.nongnu.org/mail/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sellis wrote:
In the latest Atmel Applications Journal (registration required)

You don't need to register if you go here:
http://atmelonline.com/

You can access the latest issue as well as view archives.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

He..He

The link is also in the "Post your Books & Tools" thread in the Avr Forum :-)

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the link.

Too bad, it appears that this appnote is quite old. It talks about
GCC 3.3.1 as being the only stable version of the compiler (now it's
3.4.3), and uses binutils-2.14.

The path to avr-libc on savannah misses the hyphen in the name.

The recommendation for UISP in favour of avrdude ``as it can handle
all the features of the STK500'' is questionable these days (and was
much likely already questionable by the time the author wrote that --
handling things like Varef on the STK500 had been added to avrdude by
2003-07-04), the only remaining advantage of UISP over avrdude appears
to be the ability to drive the simple serial-attached programming
dongle. Even Ted Roth as the former maintainer of UISP once told that
avrdude much looks like the UISP rewrite he always thought should once
be done...

Also, it's not quite clear to me why the guy describes the rather
cumbersome method to configure avr-libc outside its top-level
directory, when the recommended (and documented) way is to use the
./doconf and ./domake scripts.

Anyway, nice that they're (finally!) recognizing Unix as a development
platform for the AVR. When I wrote them a complaint that the STK503
and STK504 User Guides are only available in a Microsoft-proprietary
format (MS scrambled HTML) they insisted on only support MS Win as a
development platform (and they still didn't even bother to remove the
nonsensical PDF logo to the left of these documents).

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How good is their "recognizing Unix as a development platform for the AVR", when the information is so bad?

I've already written to the Editor-in-Chief, and the Technical Editor of the publication (which is published and edited by a promotions company, not Atmel itself), with a CC to Eivind, telling them that the information was bad and how easy it would have been to get the correct information.

We'll see if anything happens.

Eric

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'll give the install a try... thanks for the post and link.

I also like this one because of the hyperlinks
Installing the GNU Tool Chain
http://tinyurl.com/dpmqa

EW wrote:
How good is their "recognizing Unix as a development platform for the AVR", when the information is so bad?

I've already written to the Editor-in-Chief, and the Technical Editor of the publication (which is published and edited by a promotions company, not Atmel itself), with a CC to Eivind, telling them that the information was bad and how easy it would have been to get the correct information.

We'll see if anything happens.

Eric

http://tinyurl.com/dvzoa