Different IDF path found in the config file (IEP-939)
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
- I downloaded a new IDF version via "Download and Configure ESP-IDF" -> "Download ESP_IDF"
- Install tools
- Restart Eclipse
- Press No on the following Pop-UP
- Check Env variables:
- Update Env variables to latest version:
- Restart Eclipse
- 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?
@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