Merge branch 'docs/add_uart_change_authority' into 'master'

get-started: change ttyUSB use authority

See merge request sdk/ESP8266_RTOS_SDK!1134
This commit is contained in:
Dong Heng
2019-10-15 14:14:01 +08:00

View File

@ -74,6 +74,14 @@ Permission issues /dev/ttyUSB0
With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the ESP8266. With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the ESP8266.
If this happens you may need to add your current user to the correct group (commonly "dialout") which has the appropriate permissions::
sudo usermod -a -G dialout $USER
In addition, you can also use "sudo chmod" to set permissions on the "/dev/ttyUSB0" file before running the make command to resolve::
sudo chmod -R 777 /dev/ttyUSB0
Next Steps Next Steps
========== ==========