Add example with upload_port

This commit is contained in:
Ivan Kravets
2016-09-19 15:32:11 +03:00
parent da48ea3818
commit 6147e0e29b

View File

@ -723,6 +723,16 @@ To print all available serial ports use :ref:`cmd_device` command.
This option can be set by global environment variable
:envvar:`PLATFORMIO_UPLOAD_PORT`.
Example:
.. code-block:: ini
[env:uno]
platform = atmelavr
framework = arduino
board = uno
upload_port = /dev/ttyUSB0
``upload_protocol``
^^^^^^^^^^^^^^^^^^^