Page 1 of 1

ESP IDF Extension problem (VSCode)

Posted: Sat May 04, 2024 7:21 pm
by Rafik123
Hi everyone,

I'm encountering an issue with the ESP-IDF via the VSCode extension. When I click the ESP-IDF Build Project button at the bottom of VSCode, the building process seems to continue indefinitely without displaying any terminal output. Here's the output I get:"
* Executing task: ninja

Checking Python compatibility
Setting IDF_PATH: C:\Espressif\frameworks\esp-idf-v5.2.1

Adding ESP-IDF tools to PATH...
C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20231023\xtensa-esp-elf-gdb\bin
C:\Espressif\tools\riscv32-esp-elf-gdb\12.1_20231023\riscv32-esp-elf-gdb\bin
C:\Espressif\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin
C:\Espressif\tools\riscv32-esp-elf\esp-13.2.0_20230928\riscv32-esp-elf\bin
C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
C:\Espressif\tools\cmake\3.24.0\bin
C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin
C:\Espressif\tools\ninja\1.11.1\
C:\Espressif\tools\idf-exe\1.0.3\
C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64
C:\Espressif\tools\dfu-util\0.11\dfu-util-0.11-win64
C:\Espressif\python_env\idf5.2_py3.11_env\Scripts

Checking if Python packages are up to date...
Constraint file: C:\Espressif\espidf.constraints.v5.2.txt
Requirement files:
- C:\Espressif\frameworks\esp-idf-v5.2.1\tools\requirements\requirements.core.txt
Python being checked: C:/Espressif/python_env/idf5.2_py3.11_env\Scripts\python.exe
Python requirements are satisfied.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

idf.py build


C:\dev\ESP32\blink\build>"
After that, the process in notification seems to hang indefinitely, and I don't see any further progress. When I build my project using the command idf.py build directly, everything works perfectly. I triend to reinstall extension but it doesn't work.

Any insights or suggestions on how to resolve this issue would be greatly appreciated. Thanks in advance!

Re: ESP IDF Extension problem (VSCode)

Posted: Wed May 08, 2024 7:10 am
by ESP_radurentea
Hi,

Unfortunately, I don't have enough information to troubleshoot this.

Please open VS Code and open Command Palette (CTRL + SHIFT + P) and type "ESP-IDF:Doctor Command", this will copy a bunch of text to your clipboard or to a file depending on your Operating System. Paste the result here so I can have a look over your setup and the logs.