.. _cmd_update:

platformio update
=================

.. contents::

Usage
-----

.. code-block:: bash

    platformio update


Description
-----------

Check or update installed :ref:`Platforms <platforms>` and
:ref:`Libraries <librarymanager>`


Examples
--------

.. code-block:: bash

    $ platformio update

    Platform atmelavr
    --------
    Updating toolchain-atmelavr package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating tool-avrdude package:
    Versions: Current=2, Latest=2 	 [Up-to-date]
    Updating framework-arduinoavr package:
    Versions: Current=12, Latest=12 	 [Up-to-date]
    Updating tool-micronucleus package:
    Versions: Current=1, Latest=1 	 [Up-to-date]

    Platform atmelsam
    --------
    Updating framework-arduinosam package:
    Versions: Current=3, Latest=3 	 [Up-to-date]
    Updating ldscripts package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating toolchain-gccarmnoneeabi package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating tool-bossac package:
    Versions: Current=1, Latest=1 	 [Up-to-date]

    Platform stm32
    --------
    Updating toolchain-gccarmnoneeabi package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating tool-stlink package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating framework-spl package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating framework-cmsis package:
    Versions: Current=2, Latest=2 	 [Up-to-date]
    Updating framework-opencm3 package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating ldscripts package:
    Versions: Current=1, Latest=1 	 [Up-to-date]

    Platform teensy
    --------
    Updating toolchain-atmelavr package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating ldscripts package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating framework-arduinoteensy package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating toolchain-gccarmnoneeabi package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating tool-teensy package:
    Versions: Current=1, Latest=1 	 [Up-to-date]

    Platform timsp430
    --------
    Updating toolchain-timsp430 package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating tool-mspdebug package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating framework-energiamsp430 package:
    Versions: Current=2, Latest=2 	 [Up-to-date]

    Platform titiva
    --------
    Updating ldscripts package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating toolchain-gccarmnoneeabi package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating tool-lm4flash package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating framework-opencm3 package:
    Versions: Current=1, Latest=1 	 [Up-to-date]
    Updating framework-energiativa package:
    Versions: Current=4, Latest=4 	 [Up-to-date]
