Closed weiying-chen closed 8 months ago
Sorry for the late reply! Yeah, this is a really unfortunate situation.
Is there a way to update that avrdude.conf file or use the one in /etc/ instead?
Both are tricky:
avrdude.conf
for avrdude 7.X as that will break users who are still using avrdude 6.X.avrdude.conf
file (e.g. from /etc/
) because there are some board specific changes we had to add to the config. I'd much prefer to use the system config instead of our custom one, but I don't see how we can get the necessary changes in there.I think in the long term, the proper solution is to stop relying on the host avrdude and instead manage a vendored version that we can control. Then we always know what avrdude version we use and can always ship a matching config. It also means one less thing for the user to install. Arduino does the same thing, I'm pretty sure they had to learn the same lesson in the past ^^
As an immediate bandaid, I've created #508 to at least get ravedude working again. Not pretty, but maybe it's enough for now...
It seems like this file: https://github.com/Rahix/avr-hal/blob/main/ravedude/src/avrdude/avrdude.conf is not compatible with AVRDUDE 7.1: https://github.com/avrdudes/avrdude/discussions/1636
You get these warnings:
Is there a way to update that
avrdude.conf
file or use the one in/etc/
instead?