mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Add example with upload_port
This commit is contained in:
@ -723,6 +723,16 @@ To print all available serial ports use :ref:`cmd_device` command.
|
|||||||
This option can be set by global environment variable
|
This option can be set by global environment variable
|
||||||
:envvar:`PLATFORMIO_UPLOAD_PORT`.
|
:envvar:`PLATFORMIO_UPLOAD_PORT`.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
.. code-block:: ini
|
||||||
|
|
||||||
|
[env:uno]
|
||||||
|
platform = atmelavr
|
||||||
|
framework = arduino
|
||||||
|
board = uno
|
||||||
|
upload_port = /dev/ttyUSB0
|
||||||
|
|
||||||
``upload_protocol``
|
``upload_protocol``
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user