Page 1 of 1

Latest ESP-IDF components unresolved inclusion

Posted: Mon Nov 18, 2019 6:42 am
by Adham Aboud
Hello All,

When compiling a custom component with the latest ESP-IDF, that is using nvs flash I receive unresolved inclusion for
#incluse "nvs.h"

What should I do ?

Re: Latest ESP-IDF components unresolved inclusion

Posted: Tue Nov 19, 2019 3:34 am
by ESP_Angus
Hi Adham,

In the CMake-based build system, components need to declare which other components they depend on. This helps ESP-IDF optimise the build process.

For master branch, you can read more about this here:
https://docs.espressif.com/projects/esp ... quirements

In IDF v3.x, the method is a little different - consult the docs for this version.

Angus