forked from platformio/platformio-core
More explanations about run --targets
This commit is contained in:
@ -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:
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user