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

Sloeber installs Sparkfun esp8266 version 2.1.2 in the folder esp8266/hardware/esp8266/2.1.2 (different from arduino IDE) #1690

Closed
jantje opened this issue Nov 20, 2024 · 3 comments
Assignees
Labels
domain: configuration Configuring Sloeber does not work as docummented OS: all status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package

Comments

@jantje
Copy link
Member

jantje commented Nov 20, 2024

According to the arduino documentation https://arduino.github.io/arduino-cli/1.1/package_index_json-specification/

name: the folder used for the installed cores. The vendor folder name of the installed package is determined by this field

This means the package name is the folder under packages which in this case is "SparkFun".
Therefore Sloeber installs in the wrong folder.

@jantje jantje added status: Arduino IDE incompatibility Somethig that is not exactly the same as the arduino ide OS: all domain: configuration Configuring Sloeber does not work as docummented labels Nov 20, 2024
@jantje jantje self-assigned this Nov 20, 2024
@jantje
Copy link
Member Author

jantje commented Nov 20, 2024

Investigating a bit more in debth it seems the sparfun provided json file contains 2 packages sections and the one containing esp8266 platform is named esp8266.
Arduino ide documentation states

3rd party vendors should use a single PACKAGE_XXXX ...

So my cureent understanding is that

  1. Sparkun provides a json file not complient with Arduino guidelines.
  2. Arduino IDE does not use the name of the package as documented.

@jantje
Copy link
Member Author

jantje commented Nov 20, 2024

arduino/arduino-cli#2759

@jantje
Copy link
Member Author

jantje commented Dec 19, 2024

Given that there seems to be consensus that Sloeber install in the right place I'm closing this one.

@jantje jantje closed this as completed Dec 19, 2024
@jantje jantje added status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package and removed status: Arduino IDE incompatibility Somethig that is not exactly the same as the arduino ide labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: configuration Configuring Sloeber does not work as docummented OS: all status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package
Projects
None yet
Development

No branches or pull requests

1 participant