Page 1 of 1

Problems executing make flash

Posted: Sun Jul 09, 2017 1:45 pm
by ihouses
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 :(

Re: Problems executing make flash

Posted: Mon Jul 10, 2017 2:37 am
by ESP_Angus
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!)