Datasheet

Programming with AVRdude
For more technical users, rather than using the Arduino IDE, they may want to program the Trinket
directly with AVR-GCC as the compiler, vi/emacs as their editor and AVRdude as the uploader.
That's easy to do!
Target the Attiny85 as the chip used in avr-gcc, with F_CPU at 8MHz using the internal oscillator.
To use avrdude a minor change must be made to to avrdude.conf. To figure out where the
avrdude.conf is, open up a command window (windows: cmd, mac: Terminal, linux: rxvt etc) and
type in avrdude -v
Look for the line System wide configuration file is ..... thats where avrdude.conf is.
Because the USB bootloader is a little different than an off-the-shelf programmer, we have to
update the configuration file to have a longer erase delay. This does not affect programming bare
Attiny85 chips, so you can use this configuration file with Trinkets or raw chips without any
problems.
The Short Way
Download the new avrdude.conf by clicking on the button, rename the old avrdude.conf file to
avrdudeconf.bak and copy this new one into the same directory
Download the updated Trinket-friendly
avrdude.conf
http://adafru.it/cDZ
© Adafruit
Industries
https://learn.adafruit.com/introducing-trinket Page 45 of 65