From 6147e0e29bc8c60a67a6c672cc92eeaaca6ca193 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 19 Sep 2016 15:32:11 +0300 Subject: [PATCH] Add example with upload_port --- docs/projectconf.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/projectconf.rst b/docs/projectconf.rst index 14af3c7b..13b49702 100644 --- a/docs/projectconf.rst +++ b/docs/projectconf.rst @@ -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`` ^^^^^^^^^^^^^^^^^^^