License as published by the Free Software Foundation either Modify it under the terms of the GNU Lesser General Public This library is free software you can redistribute it and/or Pins_arduino.c - pin definitions for the Arduino board Note that the original contents of this file come from the ATtiny cores for Arduino project.
Create a directory in avr with the name variants:Ĭopy the following code into pins_arduino.h. # - from numeric vendor ID, set to Unknown otherwiseĪt this point, we need to create a custom pin definitions file. # Default blank usb manufacturer will be filled it at compile time
# Default "compiler.path" is correct, change only if you want to overidde the initial valueĬompiler.path=.hex:i In the avr directory, create a file named platform.txt and copy in the following: name=MyTiny Boards MyTiny.name=MyTiny (ATtiny84, 3.3V, 8Mhz) In the avr directory, create a file named boards.txt and copy in the following text: menu.cpu=Processor You should see the following at the bottom of the printout: avrdude: safemode: Fuses OK (E:FE, H:DD, L:E2) While you are telling AVRDUDE to specifically read the lfuse, it will print out the state of all the fuses. Verify that the fuses have been written with the following: avrdude -C.
Once again, navigate to the directory with AVRDUDE in Arduino and execute the following command: avrdude -C. If you change the features on the fuse calculator, you'll see that we need to set the following: To see which fuses need to be changed, select ATtiny84 from the dropdown list on the AVR Fuse Calculator site.
Note that this is out of spec for the ATtiny84! We're essentially overclocking/hacking the ATtiny to do something it's not supposed to do.
This tutorial shows how to do that with the internal RC clock at 3.3V. Warning: To make this work, we'll need to run the ATtiny84 at 12MHz during the bootloader phase.