Latest ESP-IDF components unresolved inclusion

Adham Aboud
Posts: 48
Joined: Mon Apr 30, 2018 5:32 pm

Latest ESP-IDF components unresolved inclusion

Postby Adham Aboud » Mon Nov 18, 2019 6:42 am

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 ?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Latest ESP-IDF components unresolved inclusion

Postby ESP_Angus » Tue Nov 19, 2019 3:34 am

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

Who is online

Users browsing this forum: No registered users and 95 guests