When building from Eclipse/ESP-IDF a new directory, [project_home]/esp_idf_components/, is created automatically in the project home directory, and all the ESP-IDF component source files are copied to it. I suspect this is to do with 'IDF Component Manager'... If I remove the [project_home]/esp_idf_components/ directory, it gets re-created during the next build.
How do I disable this behaviour? I would rather control my project's source tree myself.
If building in a terminal using idf.py the above does not happen. So the above seems to be done by Eclipse/ESP-IDF.
I am using Eclipse C/C++ 2022.6, ESP-IDF plugin 2.6 and esp-idf-v4.4.2.
Disable automatic creation of [project_home]/esp_idf_components/ in Eclipse/ESP-IDF?
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: Disable automatic creation of [project_home]/esp_idf_components/ in Eclipse/ESP-IDF?
You can disable the IDF component manager with the idf.enableIdfComponentManager setting in Visual Studio Code as defined in settings documentation
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Disable automatic creation of [project_home]/esp_idf_components/ in Eclipse/ESP-IDF?
Hello,
esp_idf_components folder is introduced with the v2.4.0 release to achieve source code navigation in the code editors. This has only virtual links to the actual files so ideally it shouldn't cause any problems.
However, if you would like to disable this behavior you can set -Dskip.idf.components=true VM argument in the eclipse.ini(espressif-ide.ini in case of Espressif-IDE)
Check more details on this here https://github.com/espressif/idf-eclips ... he-project
Thanks
esp_idf_components folder is introduced with the v2.4.0 release to achieve source code navigation in the code editors. This has only virtual links to the actual files so ideally it shouldn't cause any problems.
However, if you would like to disable this behavior you can set -Dskip.idf.components=true VM argument in the eclipse.ini(espressif-ide.ini in case of Espressif-IDE)
Check more details on this here https://github.com/espressif/idf-eclips ... he-project
Thanks
Who is online
Users browsing this forum: No registered users and 16 guests