ESP-IDF problems with mingw/mingw32/make

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: ESP-IDF problems with mingw/mingw32/make

Postby Patsjemoe » Sat Aug 10, 2019 7:04 am

hi,

thanks for your help.

I got it to work with export IDF_PATH=/c/msys32/home/user/esp-idf-v3.2.2

tried your version : export IDF_PATH="c:/msys32/home/user/esp-idf-v3.2.2"..also works

it is very confusing ...sometimes they refer to /c/, sometimes it is c:/ with ""......I took away the ""....

at last, I got this to work.

now my CMD.exe does not work anymore, but can use the mingw32. tried already blink....

now I will try esp-adf with the audio kit..hope this also works.

regards
Ludo

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: ESP-IDF problems with mingw/mingw32/make

Postby Patsjemoe » Sat Aug 10, 2019 7:37 am

Hi,
I installed esp-adf in /esp directory.
copied play_mp3 directory in /esp, tried also in /esp/esp-adf ,went into play_mp3 and initiated make menuconfig

again :
$ make menuconfig
Makefile:2: /project.mk: No such file or directory
make: *** No rule to make target '/project.mk'. Stop.

$ printenv ADF_PATH
c:/msys32/home/user/esp/esp-adf
tried also
c:/msys32/home/user/esp/esp-adf/play_mp3

Still the same error

Any idea here ?

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: ESP-IDF problems with mingw/mingw32/make

Postby Patsjemoe » Sat Aug 10, 2019 7:47 am

after installing esp-adf, and having the error as mentioned, I go back to esp-idf and are facing the same problem.
It looks as if the adf install is messing up with the idf install....
back to zero.....

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP-IDF problems with mingw/mingw32/make

Postby WiFive » Sat Aug 10, 2019 8:11 am

You should check both

Code: Select all

printenv ADF_PATH
printenv IDF_PATH
ADF shouldn't change IDF_PATH

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: ESP-IDF problems with mingw/mingw32/make

Postby Patsjemoe » Sat Aug 10, 2019 8:26 am

path's are OK, but do not start up anymore from the profile.d directory, have to start them manually.

and before, make menuconfig in blink worked,
now, after installing the esp-adf I get the error
$ make menuconfig
Makefile:8: /make/project.mk: No such file or directory
make: *** No rule to make target '/make/project.mk'. Stop.

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: ESP-IDF problems with mingw/mingw32/make

Postby Patsjemoe » Sat Aug 10, 2019 9:10 am

esp-adf is doing something weard.
when I installed this, the whole /esp/home directory cannot be deleted anymore, and it comes to 1 filed in the blink/build/include/config/smp/slave/con
This file is not accessible and cannot be deleted. I had this now 2 times.
this con file cannot be deleted in the asp directory too....
I assume, but cannot be sure, that this also causes the problem with the make menuconfig.

wevets
Posts: 112
Joined: Sat Mar 09, 2019 2:56 am

Re: ESP-IDF problems with mingw/mingw32/make

Postby wevets » Mon Oct 07, 2019 5:28 am

The problem is that going way back to DOS, "con" was a reserved word in the "OS" as the directory of the console. One could write to it like one can write to ttyn in Unix. The OS wouldn't let that directory be deleted by mere mortals, and that is carried as legacy all the way up to Windows 10. Weird, but what are you going to do, right?
It turns out there is a way to delete this directory, but it too hearkens back to DOS and the cmd prompt and its rd (or its synonym rmdir) command.
From the command line, issue the command:

rd /Q /S \\.\\c:<path to the con parent>\con

The Q and S are for "silent" and "sub directories" (just in case there's something hanging off con. I haven't tried all the variations of this, but I believe this must be done by specifying the full path to the con directory all the way from c: exactly as above with the additional back-slashes before "c:"
There are a few more reserved names, such as "lpt1" and a few others that this should work for also if you run into the problem.

dmaxben
Posts: 108
Joined: Thu Nov 16, 2017 6:04 pm

Re: ESP-IDF problems with mingw/mingw32/make

Postby dmaxben » Wed Oct 09, 2019 4:01 pm

If you're running Windows-10....in my opinion dont bother with msys/mingw32, etc..

Just use WSL...its native!

Who is online

Users browsing this forum: Google [Bot] and 109 guests