Page 1 of 1

compiling ESP-MDF examples on IDF path.

Posted: Wed May 29, 2019 11:40 am
by Meghana
Hello all,
I am trying to compile ESP_MDF examples. When I compile under MDF path, I get proper output as expected.
Actually, i want mdf examples to be executed on ESP_IDF path. How is it posssible?
Any ideas!!
I got an error like as shown below:

$ make menuconfig
Makefile:8: C:\msys32\home\esp\esp-idf/project.mk: No such file or directory
make: *** No rule to make target 'C:\msys32\home\esp\esp-idf/project.mk'. Stop.

How to get rid of this error?
kindly suggest anyone.

Thank you
Meghana.

Re: compiling ESP-MDF examples on IDF path.

Posted: Thu May 30, 2019 3:40 am
by ESP_Sprite
You can't compile esp-idf by itself, you always need to compile a project that uses it, e.g. an example. What makes you want to try this in the first place, by the way; what problem are you trying to solve?

Re: compiling ESP-MDF examples on IDF path.

Posted: Mon Jun 03, 2019 6:32 am
by Meghana
Hello all,
sorry for so late reply.
my doubt is should we component.mk file which helps in compiling the mdf examples on idf path.?
If yes, then how to write?
what should we keep as reference?
thankyou

Re: compiling ESP-MDF examples on IDF path.

Posted: Tue Jun 04, 2019 4:07 am
by ESP_Bond
The path of esp-idf is configured by `esp-mdf/esp-idf` in esp-mdf.
You can modify it by modifying `project.mk`

Image

Re: compiling ESP-MDF examples on IDF path.

Posted: Thu Jun 06, 2019 5:41 am
by Meghana
Thank you so much