Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ravedude: Use a different avrdude config for avrdude 7.X #508

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

Rahix
Copy link
Owner

@Rahix Rahix commented Feb 16, 2024

The config we've been shipping so far was only for avrdude version 6.X. This config does not work when being used with avrdude 7.X versions.

As we do not have control over the installed avrdude version at this time, we need to provide different configurations depending on the avrdude version we find.

As a stop-gap solution, import the released default config for avrdude 7.3 and attempt using it for all avrdude 7.X versions.

In the future, we'll have to rethink this. It is probably a much better solution to simply vendor avrdude entirely.

Fixes #498.

The config we've been shipping so far was only for avrdude version 6.X.
This config does not work when being used with avrdude 7.X versions.

As we do not have control over the installed avrdude version at this
time, we need to provide different configurations depending on the
avrdude version we find.

As a stop-gap solution, import the released default config for avrdude
7.3 and attempt using it for all avrdude 7.X versions.

In the future, we'll have to rethink this.  It is probably a much better
solution to simply vendor avrdude entirely.
@Rahix
Copy link
Owner Author

Rahix commented Feb 16, 2024

Please give this a try, to see whether it fixes the problem. You can install the patched ravedude like this:

cargo install --git https://github.com/rahix/avr-hal --rev 8137707b8783d2bee77f2cec4ff82e4dc0fd02e9 ravedude

Paging @weiying-chen, @Johnwf01john, and @vs-mark-graham-smith.

@Johnwf01john
Copy link

checked this and working OK now. Thanks

@Rahix Rahix merged commit 8137707 into main Feb 16, 2024
23 checks passed
@Rahix Rahix deleted the avrdude-7 branch February 16, 2024 19:16
@vs-mark-graham-smith
Copy link

@Rahix

Checked this now and also working.

Cheers

@SushantChandla
Copy link

Thanks 🙏

@Rahix
Copy link
Owner Author

Rahix commented Feb 24, 2024

(Released ravedude 0.1.7 with this change)

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

Successfully merging this pull request may close these issues.

The crates' avrdude.config not compatible with AVRDUDE 7.1
4 participants