ESP-IDF + eclipse. Adding new components to project.
Posted: Thu Feb 20, 2025 9:22 am
Hello.
I am using Linux Mint, eclipse 4.34.0, idf-esp ESP-IDF v5.4.
I am adding a component to the default example project from the esp-idf sdk "Hello World".
To do this, I add the line REQUIRES driver to the CMakeLists.txt file. Then I include the header file and the required functions in the source code.
ESP-IDF + eclipse. But neither the header nor the functions are recognized until I rebuild the project.
What should I do?
Rebuild every time immediately after adding to CMakeLists.txt?
Is there a more elegant way?
I am using Linux Mint, eclipse 4.34.0, idf-esp ESP-IDF v5.4.
I am adding a component to the default example project from the esp-idf sdk "Hello World".
To do this, I add the line REQUIRES driver to the CMakeLists.txt file. Then I include the header file and the required functions in the source code.
ESP-IDF + eclipse. But neither the header nor the functions are recognized until I rebuild the project.
What should I do?
Rebuild every time immediately after adding to CMakeLists.txt?
Is there a more elegant way?