arduino / toolchain-avr

The AVR toolchain used by the Arduino IDE
144 stars 48 forks source link

Add avrdude.conf patch to increase delays for ATtiny85 erasing and uploading. #21

Closed tdicola closed 9 years ago

tdicola commented 9 years ago

This is a pull request to increase some of the delays for the ATtiny85 in avrdude.conf that Arduino's toolchain uses. These larger delays are necessary to program ATtiny85-based boards like the Adafruit/Arduino Gemma. Normally Adafruit has had this change as a separate config that overwrites the stock Arduino IDE's avrdude.conf while also adding new boards (can see here for a little more background and the current config for the legacy 1.0.x series IDE). However with the Arduino Gemma coming soon and being built on the Adafruit Gemma board it likely makes sense to push these changes back upstream.

The changes are only to the ATtiny85 part of the avrdude configuration and just increase some delays so they should be relatively low risk to integrate. I tested the changes by checking that a full toolchain build succeeds and the avrdude.conf.in file is modified as expected by this patch. Let me know if you have any questions or would like to change anything in this pull, thanks!