Skip to content

Board Manager install downloads toolsDependencies even if they are the same version as built in. #5641

Closed
@sleemanj

Description

@sleemanj

In Arduino IDE 1.6.13 we have

$ cat builtin_tools_versions.txt
arduino.avrdude=6.3.0-arduino6
arduino.avr-gcc=4.9.2-atmel3.5.3-arduino2

In my Board Manager JSON I have

"toolsDependencies": [
  {
    "packager": "arduino",
    "name": "avrdude",
    "version": "6.3.0-arduino6"
  },
  {
    "packager": "arduino",
    "name": "avr-gcc",
    "version": "4.9.2-atmel3.5.3-arduino2"
  }
]

I would have expected that installing that package with the board manager would have seen that the depended versions are the same as the built in versions and just used the built in version.

But what actually happens is the board manager goes and downloads those avrdude and gcc versions separately and installs them into the user's preferences folder, again, even though they are already the built in versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions