Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different IDF path found in the config file (IEP-939) #754

Open
ddomnik opened this issue Apr 21, 2023 · 1 comment
Open

Different IDF path found in the config file (IEP-939) #754

ddomnik opened this issue Apr 21, 2023 · 1 comment
Assignees
Labels

Comments

@ddomnik
Copy link

ddomnik commented Apr 21, 2023

Describe the bug
After downloading new IDf 5.0.1 the Env variables seem to be overwritten with old values. The pop-up is very unclear. Provides Yes/No buttons to an OR question and does not seem to work either.

To Reproduce

  1. I downloaded a new IDF version via "Download and Configure ESP-IDF" -> "Download ESP_IDF"
  2. Install tools
  3. Restart Eclipse
  4. Press No on the following Pop-UP
    image
  5. Check Env variables:
    image
  6. Update Env variables to latest version:
    image
  7. Restart Eclipse
  8. Same as Step 4 - (New values get overwritten with old ones - Does not matter if Yes or No is pressed)

Expected behavior
The path would be as set in Windows -> Preferences -> Environment Variables and not be overwritten again.

Other
Where and what is that config file stated in the pop-up?

@github-actions github-actions bot changed the title Different IDF path found in the config file Different IDF path found in the config file (IEP-939) Apr 21, 2023
@alirana01
Copy link
Collaborator

alirana01 commented May 3, 2023

@ddomnik thank you for the feedback we can improve the popup message and further investigate on the issue you reported.

Just for clarification, we are not taking into account the windows env variables. The ide uses its own environment and saves those variables in the preferences. The popup message is to mention that you installed some new set of idf tools probably via installer and the esp-idf.json file in the ide directory contains an updated path. You can choose to ignore that or press yes to update the environment in the ide.

The operating system's environment for the tools is always independent of the IDE.

The issue you mentioned via Download & Configure tools is valid and will be worked on accordingly

@alirana01 alirana01 self-assigned this May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants