compiling ESP-MDF examples on IDF path.

Meghana
Posts: 5
Joined: Wed May 29, 2019 11:19 am

compiling ESP-MDF examples on IDF path.

Postby Meghana » Wed May 29, 2019 11:40 am

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.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: compiling ESP-MDF examples on IDF path.

Postby ESP_Sprite » Thu May 30, 2019 3:40 am

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?

Meghana
Posts: 5
Joined: Wed May 29, 2019 11:19 am

Re: compiling ESP-MDF examples on IDF path.

Postby Meghana » Mon Jun 03, 2019 6:32 am

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

ESP_Bond
Posts: 51
Joined: Mon Apr 15, 2019 1:37 pm

Re: compiling ESP-MDF examples on IDF path.

Postby ESP_Bond » Tue Jun 04, 2019 4:07 am

The path of esp-idf is configured by `esp-mdf/esp-idf` in esp-mdf.
You can modify it by modifying `project.mk`

Image

Meghana
Posts: 5
Joined: Wed May 29, 2019 11:19 am

Re: compiling ESP-MDF examples on IDF path.

Postby Meghana » Thu Jun 06, 2019 5:41 am

Thank you so much

Who is online

Users browsing this forum: No registered users and 36 guests