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

patch to allow for avrdude to erase by not appending -D#207

Open
nathanejohnson wants to merge 3 commits into
amperka:masterfrom
nathanejohnson:autoerase
Open

patch to allow for avrdude to erase by not appending -D#207
nathanejohnson wants to merge 3 commits into
amperka:masterfrom
nathanejohnson:autoerase

Conversation

@nathanejohnson

Copy link
Copy Markdown

Certain devices (such as the gertduino board) will fail verification if you don't first erase. At present, -D is passed to avrdude, which suppresses this erase. I have created a small patch to allow passing --auto-erase 1 to tell it to erase. Otherwise, it will maintain the existing default behavior. I would have preferred doing a --auto-erase with no argument, but icouldn't think of a clean way to implement that into an ini file while keeping the command line as argument-less.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant