mingw32 stop working after ESP-IDF update

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

mingw32 stop working after ESP-IDF update

Postby Adham Aboud » Fri May 18, 2018 2:29 pm

Hello all,

After updating ESP-IDF the "make flash" command stop working for me.

$ make flash
WARNING: esp-idf git submodule components/esp32/lib may be out of date. Run 'git submodule update' in IDF_PATH d ir to update.
WARNING: esp-idf git submodule components/mbedtls/mbedtls may be out of date. Run 'git submodule update' in IDF_ PATH dir to update.
WARNING: esp-idf git submodule components/esp32/lib may be out of date. Run 'git submodule update' in IDF_PATH d ir to update.
WARNING: Missing submodule components/mbedtls/mbedtls...
Attempting 'git submodule update --init components/mbedtls/mbedtls' in esp-idf root directory...
Cloning into '/home/esp/esp-idf/components/mbedtls/mbedtls'...
0 [main] git-remote-https 18036 child_info_fork::abort: D:\Work\msys32\usr\bin\msys-icudata59.dll: Loaded to different address: parent(0x3110000) != child(0x2F60000)
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/espressif/mbedtls.git' into submodule path '/home/esp/esp-idf/components/mbe dtls/mbedtls' failed
Failed to clone 'components/mbedtls/mbedtls'. Retry scheduled
Cloning into '/home/esp/esp-idf/components/mbedtls/mbedtls'...
1 [main] git-remote-https 23268 child_info_fork::abort: D:\Work\msys32\usr\bin\msys-icudata59.dll: Loaded to different address: parent(0x30A0000) != child(0x2F30000)
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/espressif/mbedtls.git' into submodule path '/home/esp/esp-idf/components/mbe dtls/mbedtls' failed
Failed to clone 'components/mbedtls/mbedtls' a second time, aborting
make: *** [D:/Work/msys32/home/esp/esp-idf/make/project.mk:530: /home/esp/esp-idf/components/mbedtls/mbedtls/.gi t] Error 1

Any suggestions ?

Thanks in advance

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: mingw32 stop working after ESP-IDF update

Postby kolban » Fri May 18, 2018 4:55 pm

I am extremely green on working on ESP32 in Windows but I had a similar problem. As I hunted google, I found a recipe that resolved my instance.

1. Go to where msys32 is installed. On my system it was C:\msys32.
2. Run "autorebase" script/batch file found there.
3. Reboot your Windows PC.

At this point, all worked for me.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

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

Re: mingw32 stop working after ESP-IDF update

Postby Adham Aboud » Fri May 18, 2018 6:29 pm

Hello Kolban and thanks for you helpful answer.
Now it works for me :D

but still writing $ make flash monitor
WARNING: esp-idf git submodule components/esp32/lib may be out of date. Run 'git submodule update' in IDF_PATH dir to update.
WARNING: esp-idf git submodule components/esp32/lib may be out of date. Run 'git submodule update' in IDF_PATH dir to update.

It's OK for me at this point

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 80 guests