More explanations about run --targets

This commit is contained in:
Ivan Kravets
2015-08-01 17:30:20 +03:00
parent edcad9c251
commit 86e39f9b44
2 changed files with 12 additions and 9 deletions

View File

@ -435,14 +435,8 @@ See built-in examples of `PlatformIO build scripts <https://github.com/platformi
^^^^^^^^^^^ ^^^^^^^^^^^
A list with targets which will be processed by :ref:`cmd_run` command by A list with targets which will be processed by :ref:`cmd_run` command by
default. You can enter more then one target separated with "space". default. You can enter more then one target separated with "space". Which
targets are supported is described in :option:`platformio run --target`.
Pre-built targets:
* ``clean`` delete compiled object files, libraries and firmware binaries
* ``upload`` enable "auto-uploading" for embedded platforms after building
operation
* ``envdump`` dump current build environment
**Tip!** You can use these targets like an option to **Tip!** You can use these targets like an option to
:option:`platformio run --target` command. For example: :option:`platformio run --target` command. For example:

View File

@ -33,7 +33,16 @@ Process specified environments
.. option:: .. option::
-t, --target -t, --target
Process specified targets Process specified targets.
Pre-built targets:
* ``clean`` delete compiled object files, libraries and firmware/program binaries
* ``upload`` enable "auto-uploading" for embedded platforms after building
operation
* ``uploadlazy`` upload existing firmware without project rebuilding
* ``envdump`` dump current build environment
* ``size`` print the size of the sections in a firmware/program
.. option:: .. option::
--upload-port --upload-port