在 Eclipse 安装 ESP-IDF 工具
单击Install Tools 后 出现如下问题
执行 F:\Python\Python38\python.exe F:\ESP32_IDF\esp-idf-4.2.2\tools\idf_tools.py install-python-env
fatal: not a git repository (or any of the parent directories): .git
Processing f:\esp32_idf\esp-idf-4.2.2\tools\kconfig_new\esp-windows-curses
DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
Requirement already satisfied: setuptools>=21 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 4)) (57.1.0)
Requirement already satisfied: click>=5.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 8)) (8.0.1)
Requirement already satisfied: pyserial>=3.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 9)) (3.5)
Requirement already satisfied: future>=0.15.2 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 10)) (0.18.2)
Requirement already satisfied: cryptography>=2.1.4 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 11)) (3.4.7)
Requirement already satisfied: pyparsing<2.4.0,>=2.0.3 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 12)) (2.3.1)
Requirement already satisfied: pyelftools>=0.22 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 13)) (0.27)
Requirement already satisfied: gdbgui==0.13.2.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (0.13.2.0)
Requirement already satisfied: pygdbmi<=0.9.0.2 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 18)) (0.9.0.2)
Requirement already satisfied: python-socketio<5 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 21)) (4.6.1)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 24)) (1.5.4)
Requirement already satisfied: bitstring>=3.1.6 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 25)) (3.1.9)
Requirement already satisfied: ecdsa>=0.16.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from -r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 26)) (0.17.0)
Requirement already satisfied: windows-curses in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from esp-windows-curses==0.1->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 32)) (2.2.0)
Requirement already satisfied: Flask-SocketIO<3.0,>=2.9 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (2.9.6)
Requirement already satisfied: Pygments<3.0,>=2.2.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (2.9.0)
Requirement already satisfied: Flask-Compress<2.0,>=1.4.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (1.10.1)
Requirement already satisfied: gevent<2.0,>=1.2.2 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (1.5.0)
Requirement already satisfied: Flask<1.0,>=0.12.2 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (0.12.5)
Requirement already satisfied: colorama in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from click>=5.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 8)) (0.4.4)
Requirement already satisfied: cffi>=1.12 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from cryptography>=2.1.4->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 11)) (1.14.6)
Requirement already satisfied: six>=1.9.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from python-socketio<5->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 21)) (1.16.0)
Requirement already satisfied: python-engineio<4,>=3.13.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from python-socketio<5->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 21)) (3.14.2)
Requirement already satisfied: pycparser in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from cffi>=1.12->cryptography>=2.1.4->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 11)) (2.20)
Requirement already satisfied: Werkzeug<1.0,>=0.7 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (0.16.1)
Requirement already satisfied: itsdangerous>=0.21 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (2.0.1)
Requirement already satisfied: Jinja2>=2.4 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (3.0.1)
Requirement already satisfied: brotli in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from Flask-Compress<2.0,>=1.4.0->gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (1.0.9)
Requirement already satisfied: greenlet>=0.4.14 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from gevent<2.0,>=1.2.2->gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (1.1.0)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\xxxx\.espressif\python_env\idf4.2_py3.8_env\lib\site-packages (from Jinja2>=2.4->Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt (line 15)) (2.0.1)
Building wheels for collected packages: esp-windows-curses
Building wheel for esp-windows-curses (setup.py): started
Building wheel for esp-windows-curses (setup.py): finished with status 'done'
Created wheel for esp-windows-curses: filename=esp_windows_curses-0.1-py3-none-any.whl size=1170 sha256=d829542743562a2ff4072c882163c038c20e7840b0fbc5087178733154adf9a4
Stored in directory: c:\users\xxxx\appdata\local\pip\cache\wheels\71\07\06\e003d7cb8a74a5968d2c69845d0e954127a4d6284da34e8601
Successfully built esp-windows-curses
Installing collected packages: esp-windows-curses
Attempting uninstall: esp-windows-curses
Found existing installation: esp-windows-curses 0.1
Uninstalling esp-windows-curses-0.1:
Successfully uninstalled esp-windows-curses-0.1
Successfully installed esp-windows-curses-0.1
WARNING: Git describe was unsuccessul: Command '['git', 'describe']' returned non-zero exit status 128.
Installing Python packages from F:\ESP32_IDF\esp-idf-4.2.2\requirements.txt
执行 F:\Python\Python38\python.exe F:\ESP32_IDF\esp-idf-4.2.2\tools\idf_tools.py export --format=key-value
fatal: not a git repository (or any of the parent directories): .git
WARNING: Git describe was unsuccessul: Command '['git', 'describe']' returned non-zero exit status 128.
OPENOCD_SCRIPTS=C:\Users\xxxxx\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\share\openocd\scripts
IDF_CCACHE_ENABLE=1
IDF_PYTHON_ENV_PATH=C:\Users\xxxxx\.espressif\python_env\idf4.2_py3.8_env
PATH=C:\Users\xxxxx\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;C:\Users\xxxxx\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;C:\Users\xxxx\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Users\xxxx\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Users\xxxx\.espressif\tools\cmake\3.16.4\bin;C:\Users\xxxx\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin;C:\Users\xxxx\.espressif\tools\ninja\1.10.0\;C:\Users\xxxx\.espressif\tools\idf-exe\1.0.1\;C:\Users\xxxx\.espressif\tools\ccache\3.7\;C:\Users\xxxx\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\xxxx\.espressif\python_env\idf4.2_py3.8_env\Scripts;F:\ESP32_IDF\esp-idf-4.2.2\tools;%PATH%
配置的 CDT 构建环境变量。请检查 "偏好设置" > "C/C++" > "构建" > "环境"
配置的 CMake 工具链。请检查 "偏好设置" > "C/C++" > "CMake"
Eclipse 安装 ESP-IDF 问题
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: Eclipse 安装 ESP-IDF 问题
你是参考哪个安装的?当前可以直接使用 https://dl.espressif.com/dl/esp-idf/ 下的 esp-idf-tools-setup 来安装。
Re: Eclipse 安装 ESP-IDF 问题
已经安装完毕 ,可以编译下载 ,启动调试出现如下问题
Open On-Chip Debugger v0.10.0-esp32-20210401 (2021-04-01-15:46)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Warn : Interface already configured, ignoring
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'
Assertion failed!
Program: C:\Users\xxxxx\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin\openocd.exe
File: ../src/jtag/core.c, Line 343
Expression: jtag_trst == 0
Open On-Chip Debugger v0.10.0-esp32-20210401 (2021-04-01-15:46)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Warn : Interface already configured, ignoring
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'
Assertion failed!
Program: C:\Users\xxxxx\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin\openocd.exe
File: ../src/jtag/core.c, Line 343
Expression: jtag_trst == 0
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: Eclipse 安装 ESP-IDF 问题
一块板子是 ESP-S2-Kaluga-1
另一个是 ESP-PRO 仿真器
另一个是 ESP-PRO 仿真器
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: Eclipse 安装 ESP-IDF 问题
用 Zadig 装下驱动试下。
Who is online
Users browsing this forum: No registered users and 72 guests