Adding ATtiny support in Arduino 1.6.4 onwards

Since Arduino 1.6.4 it has been easy to add support for other boards  such as the Intel Galileo, in this case I have a lot of Attiny microcontrollers that I was going to see if I could program using the Arduino. Lets look at that process

Open the preferences windows : File -> preferences

Locate the Additional Boards Manager URLs box, it looks like this

additional boards
additional boards

You can add additional URLs as a comma seperated list or click on the icon to open an additional dialog box where you can paste one URL per line. You want to add the following URLs, this pulls in a variety of ATtiny devices

https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
http://drazzy.com/package_drazzy.com_index.json
http://openhardware.ro/boards/package_openhardwarero_index.json
extra boards
extra boards

Click OK to save this and then click OK to save the preferences.

Now open the Boards Manager by going to Tools -> Boards -> Board manager

tools board manager
tools board manager

You will see a list appear, the new options will appear at the bottom

Click on the attiny entry. An install button should appear. Click the install button.

The word “installed” should now appear next to the title of the attiny entry. In the screenshot below you can see I have installed various options

installed
installed

Close the boards manager. You should now see various new entries in the “Tools > Board” menu.

new boards
new boards
Previous articleAtmega328 interrupts
Next articleST Nucleo F334R8 LCD example