2014-09-06 13:44:45 +03:00
|
|
|
.. _cmd_lib_update:
|
|
|
|
|
|
|
|
platformio lib update
|
|
|
|
=====================
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
2015-04-16 17:34:22 +01:00
|
|
|
platformio lib update [LIBRARY_ID]
|
2014-09-06 13:44:45 +03:00
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Check or update installed libraries
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
2015-04-16 17:34:22 +01:00
|
|
|
1. Update all installed libraries
|
|
|
|
|
2014-09-06 13:44:45 +03:00
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ platformio lib update
|
2014-10-22 23:52:17 +03:00
|
|
|
# Updating [ 23 ] Adafruit-L3GD20-Unified library:
|
|
|
|
# Versions: Current=63de2eb9ea, Latest=63de2eb9ea [Up-to-date]
|
|
|
|
# Updating [ 12 ] Adafruit-ST7735 library:
|
|
|
|
# Versions: Current=e880eb1687, Latest=e880eb1687 [Up-to-date]
|
|
|
|
# Updating [ 31 ] Adafruit-Unified-Sensor library:
|
|
|
|
# Versions: Current=88ae805bce, Latest=88ae805bce [Up-to-date]
|
|
|
|
# Updating [ 26 ] Adafruit-LSM303DLHC-Unified library:
|
|
|
|
# Versions: Current=59767208a8, Latest=59767208a8 [Up-to-date]
|
|
|
|
# Updating [ 13 ] Adafruit-GFX library:
|
|
|
|
# Versions: Current=a9e5bc4707, Latest=a9e5bc4707 [Up-to-date]
|
|
|
|
# Updating [ 1 ] OneWire library:
|
2015-04-16 17:34:22 +01:00
|
|
|
# Versions: Current=2.2, Latest=2.2 [Up-to-date]
|
2014-10-22 23:52:17 +03:00
|
|
|
# Updating [ 4 ] IRremote library:
|
|
|
|
# Versions: Current=f2dafe5030, Latest=f2dafe5030 [Up-to-date]
|
|
|
|
# Updating [ 14 ] Adafruit-9DOF-Unified library:
|
|
|
|
# Versions: Current=b2f07242ac, Latest=b2f07242ac [Up-to-date]
|
2015-04-16 17:34:22 +01:00
|
|
|
|
|
|
|
2. Update specified libraries
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ platformio lib update 1 59
|
|
|
|
# Updating [ 1 ] OneWire library:
|
|
|
|
# Versions: Current=2.2, Latest=2.2 [Up-to-date]
|
|
|
|
# Updating [ 59 ] USB-Host-Shield-20 library:
|
|
|
|
# Versions: Current=fcab83dcb3, Latest=c61f9ce1c2 [Out-of-date]
|
|
|
|
# The library #59 'USB-Host-Shield-20' has been successfully uninstalled!
|
|
|
|
# Installing library [ 59 ]:
|
|
|
|
# Downloading [####################################] 100%
|
|
|
|
# Unpacking [####################################] 100%
|
|
|
|
# The library #59 'USB-Host-Shield-20' has been successfully installed!
|