The Arduino project maintains patches [1] to avrdude, both related to configuration and some patches to the source. Additionally, another patch [2] obtained from Mike Meyer <mwm@mired.org> that he in turn obtained elsewhere that improves reliability of flashing Unos at least. It's a good idea to go ahead and make a port for this Arduino-specific version because the chance of these patches getting upstream are not huge, given that they are in fact Arduino-specific. I will be supplying patches to devel/arduino-{core,tools} within due time to use this patched version. [1] https://github.com/arduino/avrdude-build-script [2] https://forums.adafruit.com/viewtopic.php?f=25&t=41023#p204792
Take.
Hi, Kyle! Seems you've forgotten to attach patches. ;-) Or I didn't quite understand the goal of this PR.
Created attachment 181347 [details] shar(1) archive of devel/arduino-avrdude D'oh. =) Sorry about that.
A commit references this bug: Author: bsam Date: Wed Apr 19 19:36:35 UTC 2017 New revision: 438906 URL: https://svnweb.freebsd.org/changeset/ports/438906 Log: AVRDUDE - AVR Downloader/UploaDEr - is a program for updating the flash, eeprom, and fuse bit memories of Atmel AVR microcontrollers. It operates with several programmers including STK500 and most directly connect parallel port style programmers. WWW: http://www.nongnu.org/avrdude/ PR: 218234 Submitted by: bsdports@kyle-evans.net Changes: head/devel/Makefile head/devel/arduino-avrdude/ head/devel/arduino-avrdude/Makefile head/devel/arduino-avrdude/distinfo head/devel/arduino-avrdude/files/ head/devel/arduino-avrdude/files/patch-Makefile.in head/devel/arduino-avrdude/files/patch-avr.c head/devel/arduino-avrdude/files/patch-avrdude.conf.in head/devel/arduino-avrdude/files/patch-bitbang.c head/devel/arduino-avrdude/files/patch-libavrdude.h head/devel/arduino-avrdude/files/patch-main.c head/devel/arduino-avrdude/pkg-descr
Committed, thanks!