Skip to content

Library Manager update overrides bundled esp8266 libraries #1097

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

Closed
per1234 opened this issue Nov 27, 2015 · 2 comments
Closed

Library Manager update overrides bundled esp8266 libraries #1097

per1234 opened this issue Nov 27, 2015 · 2 comments

Comments

@per1234
Copy link
Contributor

per1234 commented Nov 27, 2015

If the Arduino IDE Library Manager is used to update or install a library that is also bundled with esp8266 then that library is installed to the sketchbook libraries folder and thus will be used in preference to the esp8266 bundled library. This issue is reported in the Arduino IDE repository: arduino/Arduino#4064 but has not received much support for being fixed from the developers so any input there might help to give it priority. I made a list of workarounds for this issue here: JChristensen/mighty-1284p#24

@igrr
Copy link
Member

igrr commented Feb 29, 2016

Closing this as f2949c1 has been merged and released.

@igrr igrr closed this as completed Feb 29, 2016
@per1234
Copy link
Contributor Author

per1234 commented Mar 1, 2016

f2949c1 doesn't fix this issue, it only reduces the chance of it happening by preventing updates cause by false updatable library notifications. But if there is actually an update for any of the libraries included with the Arduino IDE in the {IDE install folder}/libraries folder then this issue will still occur. I don't think there is any good solution for completely fixing the issue in this repository but it could be helpful to add a note about it in the documentation. Something like: JChristensen/mighty-1284p@ceed9b6. I at least wanted to bring attention to this issue as a likely cause of future issue reports in this repository.

The approach that the Arduino 101 core is using to deal with this issue is to attempt to add support for their hardware to all the relevant libraries and then removing their copies from the package when that is accomplished. Now of course it seems unlikely that the Arduino developers would be willing to merge changes to support ESP8266 but I was surprised to see a PR recently merged to add support for ATmega1284/ATmega1284P(not used in any official Arduino board) to the Servo library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants