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

PlatformIO Library Registry manifest file #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ivankravets
Copy link

@ivankravets
Copy link
Author

library.json is a library manifest file which can be used by the different tools/managers to organise embedded libraries. How does this look from CLI:

$ platformio lib search "Adafruit LED"
# Found ... libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
# [ 128  ] Adafruit-LED-Backpack         arduino, atmelavr     "Adafruit Industries": Adafruit LED Backpack Library for our 8x8 matrix and 7-segment LED backpacks

$ platformio lib install 128
# Installing [ 128 ]  library:
# Downloading  [####################################]  100%
# Unpacking  [####################################]  100%
# The library  [ 128  ] ‘Adafruit-LED-Backpack' has been successfully installed!

$ platformio lib show 128
# Adafruit-LED-Backpack
# -------------
# Author: Adafruit Industries
# Keywords: ***
# Frameworks: arduino
# Platforms: atmelavr
# Version: ***
#
# Adafruit LED Backpack Library for our 8x8 matrix and 7-segment LED backpacks

$ platformio lib update
# Updating Adafruit-LED-Backpack  library:
# Versions: Current=***, Latest=***       [Up-to-date]

library.json Outdated
},
"dependencies":
{
"name": "Adafruit-GFX",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now Adafruit_GFX in the registry

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

Successfully merging this pull request may close these issues.

2 participants