Hi,
please help.
How to add source (* .c) files from components (and other * .c file) to Eclipse project.
I want to see the contents of the function, which functions are called, etc.
Thank you.
How to add source files to eclipse project
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: How to add source files to eclipse project
Hello,
Could you check this and look for "Source code navigation and linking esp-idf components" section
When a project is built all the dependent esp-idf components (based on the compile_commands.json) will be linked to the project with the folder name esp_idf_components.
This will help in two ways. First, the user should be able to browse through the esp-idf source code directly under the eclipse project explorer. Second, It allows navigating to the function definitions by pressing F3 or ctrl+ click(in macOS command+click) on the function name.
I hope that helps.
Could you check this and look for "Source code navigation and linking esp-idf components" section
When a project is built all the dependent esp-idf components (based on the compile_commands.json) will be linked to the project with the folder name esp_idf_components.
This will help in two ways. First, the user should be able to browse through the esp-idf source code directly under the eclipse project explorer. Second, It allows navigating to the function definitions by pressing F3 or ctrl+ click(in macOS command+click) on the function name.
I hope that helps.
Re: How to add source files to eclipse project
Thank you for your reply.
If I open an example ESPRainMaker "https://github.com/espressif/esp-rainma ... les/switch" in Eclipse IDE, I add a virtual folder to the project "components" (components are all components of ESRrainMaker - https://github.com/espressif/esp-rainma ... components), errors manifest (see picture). How to compile without errors?? Tnx
If I open an example ESPRainMaker "https://github.com/espressif/esp-rainma ... les/switch" in Eclipse IDE, I add a virtual folder to the project "components" (components are all components of ESRrainMaker - https://github.com/espressif/esp-rainma ... components), errors manifest (see picture). How to compile without errors?? Tnx
- Attachments
-
- Error_Eclipse.png (137.73 KiB) Viewed 3065 times
Who is online
Users browsing this forum: No registered users and 24 guests