Azure-Samples/ESP-Samples

Cannot run setup scripts on Linux

CIPop opened this issue · 6 comments

CIPop commented

To make this work on Linux/Ubuntu, the install path should be either configurable or defaulting to the home folder.
Currently this is defaulting to /mnt/c/ which isn't working well on anything but WSL.

Workaround:

Edit the install and dev setup scripts and modify /mnt/c to a writable folder.
Also, to understand which serial port to use, check the dmesg logs (usually similar to /dev/ttyUSB0 on Ubuntu 20 LTS).

CIPop commented
CIPop commented

Setup Info for Linux from Expressif System for ESP8266 https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/get-started/linux-setup.html

True but the script is doing all that automatically (and I've tested it to work). It's a lot more convenient.
Please take issue this as a feature request if it wasn't originally meant to work on Linux.