Added docker local USB port mapping

Added docker local USB device port mapping when using Linux
This commit is contained in:
ladefoged81 2018-10-01 23:21:38 +02:00 committed by GitHub
parent c7f029d093
commit a12055ae41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -93,7 +93,10 @@ that you can modify afterwards and play around with.
On docker, the first upload is a bit more complicated, either you manage
to map the serial device into docker with the ``-v`` option, or you just
call ``compile`` within the container and let platformio do the
uploading on the host system:
uploading on the host system.
If you are running docker on Linux you can add ``--device=/dev/ttyUSB0``
to your docker command to map a local USB device.
.. code:: bash