在Linux下搭建ESP32开发环境报错:
Adding ESP-IDF tools to PATH...
WARNING: tool openocd-esp32 version v0.10.0-esp32-20190313 is installed, but the tool failed to run
ERROR: tool openocd-esp32 has no installed versions. Please run '/root/esp/esp-idf/install.sh' to install it.
只需修正下命令就行:
apt-get install libusb-1.0