arduino / arduino/ArduinoCore-avr

Upload fails when AVRDUDE 8.x format global `.avrduderc` is present on system

Open
#576 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
1.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

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 environments

The 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` into `platform.txt` - and make your environment co-exist with modern user environments

Related info: https://github.com/avrdudes/avrdude/issues/1548

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting platform.txt and the Arduino-supplied AVRDUDE invocation. Confirm the supported AVRDUDE version and whether the upload command prevents loading a user's modern .avrduderc; done means uploads work when an AVRDUDE 8.x-format .avrduderc is present.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
embedded-iot, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.