ESP32 报错is installed, but the tool failed to run

在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

原文连接:https://github.com/espressif/esp-idf/issues/4095

你可能感兴趣的:(硬件)