Skip to content

[Bug Report] Issue with ESP-IDF Installation (EIM-527) #460

Description

@JordanMajd

System Information

  • OS info: OS: Windows 11 (26200) | Architecture: x86_64 | Kernel: 26200
  • App Version: 0.8.0

Description

Please describe the issue you encountered:

I shouldn't have to reinstall a whole new environment if I already have a working environment

  • I installed everything using esp-idf-tools-setup-online-2.4.1.exe
  • When selecting "Configure extension" in vscode it there is no way to point to the existing install and local dependencies

UPDATE:

I was able to get it to kind of run by setting idf.currentSetup in .vscode/settings.json

{
  "idf.currentSetup": "C:/Espressif/frameworks/esp-idf-v5.5.3/"
}

And now it seems to work kind of but then it fails

ERROR: tool riscv32-esp-elf-gdb has no installed versions. Please run 'C:\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp-idf-v5.5.3\tools\idf_tools.py install' to install it.
Command failed: C:/Espressif/python_env/idf5.5_py3.11_env/Scripts/python.exe C:\Espressif\frameworks\esp-idf-v5.5.3\tools\idf_tools.py export --format key-value
ERROR: tool riscv32-esp-elf-gdb has no installed versions. Please run 'C:\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp-idf-v5.5.3\tools\idf_tools.py install' to install it.

When I run the command C:\Espressif\frameworks\esp-idf-v5.5.3\tools\idf_tools.py install nothing changes. If I realod the IDE everything errors again with the same issue

UPDATE 2:

I was able to run the command from the esp powershell python C:\Espressif\frameworks\esp-idf-v5.5.3\tools\idf_tools.py install and now it seems like it is working.

It's kind of frustrating that the documentation doesn't really tell you what to do at all and you have to do a bunch of undocumented things to get anything to run at all

None of the vscode commands work out of box

  • ESP-IDF: Open ESP-IDF Installation Manager
  • ESP-IDF: Select Current Verison
  • ESP-IDF: Welcome

You have to click on the "activating extensions..." in the bottom bar to get a notification popup to select configure IDE then nothing in the configure actually works and you have to create a settings file and set the installation. Then you have to open a prompt and run a python command command and then everything works

Actual Behavior

Logs

Please attach logs from the app logs folder.

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions