sglahn / docker-platformio-core

PlatformIO Command Line Interface in a Docker Container. Tags:
https://hub.docker.com/r/sglahn/platformio-core/tags
Apache License 2.0
45 stars 27 forks source link

added dialout group to allow USB access #14

Open reimerp opened 3 years ago

reimerp commented 3 years ago

w/o that an upload will fail with Permission denied

``` Configuring upload protocol... AVAILABLE: espota, esptool CURRENT: upload_protocol = esptool Looking for upload port... Warning! Please install `99-platformio-udev.rules`. More details: https://docs.platformio.org/page/faq.html#platformio-udev-rules Auto-detected: /dev/ttyUSB0 Uploading .pio/build/nodemcuv2-ble/firmware.bin esptool.py v3.0 Traceback (most recent call last): Serial port /dev/ttyUSB0 File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK) PermissionError: [Errno 13] Permission denied: '/dev/ttyUSB0' ```