In order to follow along with this tutorial, you will need a few things first:
The AVR toolchain is what takes our source code and transforms it into something that we can load onto our AVR. For instructions on installing the AVR toolchain, see the AVR Toolchain Installation tutorial.
Eclipse CDT is specifically designed for working with C/C++ projects. It will be our source code editor and interface to the AVR toolchain. I will be using Eclipse CDT Mars.1 for this tutorial, which can be downloaded from the Eclipse website.
Even though we won’t be using the Arduino IDE, the Arduino Uno is the perfect hardware platform to start developing for the AVR. If you are using Windows, you may need to install drivers for the USB-to-Serial interface. Follow the Getting Started with Arduino on Windows instructions for installing the drivers.