Open uino opened 9 years ago
Note that, to force the -V option by default and obtain faster upload, it suffices to modify the bottom of the file "ino/commands/upload.py" and add "-V" there.
# call avrdude to upload .hex
subprocess.call([
self.e['avrdude'],
'-C', self.e['avrdude.conf'],
'-p', board['build']['mcu'],
'-P', port,
'-c', protocol,
'-b', board['upload']['speed'],
'-D',
'-V', # <===== added
'-U', 'flash:w:%s:i' % self.e['hex_path'],
Hi,
Thanks for the very useful tool that you're developing! I have a little feature wish that should take only 3 lines of code to implement (I wish I knew more Python to do a pull request directly). The idea is simply to add an option to "ino upload" (and also in the ino.ini file) so as to support for the "-V" option of "avrdude". This option makes uploading code twice faster.
Thanks!