It’s been about 3 years now since I last compiled up avr-gcc and avr-libc for Windows and it proved surprisingly popular with you so I’m now bringing you the latest, as of March 2015, versions of avr-gcc and avr-libc. I’ve also included avrdude 6.1 for completeness even...
avr-gcc 4.9.2 and avr-libc 1.8.1 compiled for Windows
posted by Andy
avr-gcc 4.7.0 and avr-libc 1.8.0 compiled for Windows
posted by Andy
At the time of writing, April 2012, the gcc team have released version 4.7.0 of the compiler package and the avr-libc developers have also released version 1.8.0 of the avr-libc library. Version list Tool Version Configuration avr-gcc 4.7.0 –with-gmp=/usr/local...
An ATtiny85 development environment
posted by Andy
This article will help you to set up a low-cost development environment for programming and testing the ATtiny 85 MCU. The same principles apply to any other member of the ATtiny family that can run free of any external components. Parts List Component Supplier Price...
avr-gcc 4.5.1 and avr-libc 1.7.0 for windows
posted by Andy
Deprecated! This has now been superceded by gcc-4.7.0 and avr-libc 1.8.0. Click here to go to my article that describes how to upgrade. The version of gcc included with WinAVR-20100110 is 4.3.3. If you’d like to update to avr-gcc 4.5.1 with avr-libc 1.7.0 then you’ve come to...
Your first AVR project in Eclipse
posted by Andy
So you’ve read my blog post Setting up Eclipse for AVR projects and now you want to write some code but you’re somewhat bewildered by all the Eclipse options. Well not to worry, I’ll walk you through your first project step-by-step. We’ll go ahead and recreate the...
Recommended avr-gcc compiler settings
posted by Andy
It can be daunting when you first set up a project in Eclipse and you start browsing the available compiler options. There are just so many it’s not even funny. The aim of this article is to show you which options you should change, and what you should change them to in order to get the...
The global constructor bug in avr-gcc
posted by Andy
There is a major bug affecting versions of avr-gcc that I have tested from 4.4 all the way up to the most recent (at the time of writing) 4.5.1. It only affects programs that target MCUs with more than 64K flash memory so you need to know about this if you are programming the Arduino Mega...