Problems executing make flash

ihouses
Posts: 19
Joined: Sun Jul 09, 2017 1:41 pm

Problems executing make flash

Postby ihouses » Sun Jul 09, 2017 1:45 pm

Hello,

I just installed the toolchain for windows following the instructions in https://esp-idf.readthedocs.io/

I can communicate with my ESP32 board and I could execute make menuconfig.

when I execute make flash I get the following error:

J.A@AT-Micro MINGW64 /home/jose/esp-idf/examples/get-started/blink
$ make flash
/bin/sh: python: no se encontró la orden
make[1]: *** [/home/jose/esp-idf/components/esptool_py/Makefile.projbuild:49: /home/jose/esp-idf/examples/get-started/blink/build/bootloader/bootloader.bin] Error 127
make: *** [/home/jose/esp-idf/components/bootloader/Makefile.projbuild:31: /home/jose/esp-idf/examples/get-started/blink/build/bootloader/bootloader.bin] Error 2

I don't know how to continue :(

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

Re: Problems executing make flash

Postby ESP_Angus » Mon Jul 10, 2017 2:37 am

Hi Jose,
ihouses wrote: I just installed the toolchain for windows following the instructions in https://esp-idf.readthedocs.io/
Did you download the pre-built zip file, or did you follow the steps to build an environment from scratch?
ihouses wrote: J.A@AT-Micro MINGW64 /home/jose/esp-idf/examples/get-started/blink
$ make flash
/bin/sh: python: no se encontró la orden
make[1]: *** [/home/jose/esp-idf/components/esptool_py/Makefile.projbuild:49: /home/jose/esp-idf/examples/get-started/blink/build/bootloader/bootloader.bin] Error 127
make: *** [/home/jose/esp-idf/components/bootloader/Makefile.projbuild:31: /home/jose/esp-idf/examples/get-started/blink/build/bootloader/bootloader.bin] Error 2
You need to run the terminal environment by double-clicking "mingw32.exe". From the prompt "MINGW64" it looks like you may have run "mingw64.exe". (MSYS2 ships multiple similar-but-different environments, it's a little confusing!)

Who is online

Users browsing this forum: Dennie and 86 guests