Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Support for "do not verify" avrdude option? #217

Open
uino opened this issue Dec 11, 2014 · 1 comment
Open

Support for "do not verify" avrdude option? #217

uino opened this issue Dec 11, 2014 · 1 comment

Comments

@uino
Copy link

uino commented Dec 11, 2014

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!

@uino
Copy link
Author

uino commented Jan 6, 2015

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'],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant