forked from platformio/platformio-core
Add example with upload_port
This commit is contained in:
1 parent
da48ea3818
commit
6147e0e29b
1 file changed
+10
@@ -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``
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in new issue
Block a user