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

[FR] explain how to update external libraries that are not managed by Library Manager Registry #183

Open
DerAndere1 opened this issue Mar 4, 2021 · 0 comments

Comments

@DerAndere1
Copy link

DerAndere1 commented Mar 4, 2021

I created a plain C project for the Atmel AVR platform that depended on libraries which are in git repositories but not in the PlatformIO Library Manager Registry. I added these dependencies using the libdeps entry in platformio.ini .

I could not find the following information in the documentation:

- If a library is available from a version controlled repository, AND
- if the dependency is not available in the PlatformIO Library Manager Registry, AND
- if the depency was specified using the libdeps entry in platformio.ini, 

such library can be updated by deleting the subfolder [your_project_folder]/.pio/libdeps/[your_env]/[your_library_folder]  
of your project. The updated library should be added back automatically after some seconds. 

A good place for that information would be here:
https://github.com/platformio/platformio-docs/blob/develop/librarymanager/quickstart.rst#project-dependencies

and/or here:
https://github.com/platformio/platformio-docs/blob/develop/projectconf/section_env_library.rst

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

1 participant