Open UffeJakobsen opened 3 weeks ago
Please note that the new title (Upload fails when AVRDUDE 8.x format global .avrduderc is present on system) is not entirely correct...
Arduino-supplied avrdude is already invoked with -C
option pointing to an alternative global avrdude.conf
I my original issue - I'm referring to the user-local resource ~/.avrduderc
- and not the global /etc/avrdude.conf
Subject: Avrdude is incompatible - please update to version 7.3+
Arduino-supplied Avrdude (6.3.0-arduino17) installed with core
arduino:avr
is incompatible with (modern) user environmentsThe main problem is that Arduino-supplied avrdude insists on loading the user
.avrduderc
And with avrdude 8.0 as the latest current release - a contemporary
.avrduderc
contains statements that prevents the (old) Arduino-supplied Avrdude from running/working in such user environment.Avrdude version 7.3 (and forward) introduces an option
-N
- that will prevent Avrdude from loading the user.avrduderc
Once you update to Avrdude version 7.3 or higher you can introduce option
-N
intoplatform.txt
- and make your environment co-exist with modern user environmentsRelated info: https://github.com/avrdudes/avrdude/issues/1548