Closed dalpil closed 2 years ago
Hey, yeah, I think we can pull in this change. As long as other ATtiny MCUs still work I don't see a problem here. We can always revisit this later if something does come up.
Can you create a PR from the commit you linked?
PR submitted.
It seems like the Adafruit Trinket requires a slightly modified avrdude.conf for programming, since the built in bootloader "acts a little bit different than other off-the-shelf programmers".
After updating the ravedude-bundled avrdude.conf file with the suggested changes from the Adafruit documentation I can successfully program my Trinket with ravedude on a MacbookPro. According to adafruit these changes should not affect the programming of bare attiny85 chips, so would it be possible to include these changes in the bundled avrdude.conf?
I have published the required changes in a branch in my forked repo; https://github.com/dalpil/avr-hal/commit/24f182fbfa7bc1759f90fb8260744bc208d7d72d
When programming the Trinket from a Ubuntu machine I also had to add the suggested configuration to udev.
Without the suggested changes to avrdude.conf i keep getting output from ravedude/avrdude like this (for the sake of searchability);
Last but not least; thank you for developing/maintaining ravedude/avr-hal/avr-device et.al. It has made developing with Rust on my AVR-boards a pleasure. 👍