Setting up Development Toolchain for ESP32
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Setting up Development Toolchain for ESP32
Hi,
1. I have downloaded the esp32_win32_msys2_environment_and_toolchain-20170330,
2. then made git clone --recursive https://github.com/espressif/esp-idf.git in under a directory C:\ESP\esp-idf
3. Downloaded the template into directory myapp2 git clone https://github.com/espressif/esp-idf-template.git myapp2
4. Exported export IDF_PATH="C:\ESP\esp-idf"
5. Then hit the make command to compile the project. make
then errors occurs:
$ make
/bin/sh: python: not fund command
make[1]: *** [/c/ESP/esp-idf/components/esptool_py/Makefile.projbuild:49: /c/esp/myapp2/build/bootloader/bootloader.bin] ERROR 127
make: *** [/c/ESP/esp-idf/components/bootloader/Makefile.projbuild:31: /c/esp/myapp2/build/bootloader/bootloader.bin] ERROR 2
Please for any advice.
Many thanks,
Pawel
1. I have downloaded the esp32_win32_msys2_environment_and_toolchain-20170330,
2. then made git clone --recursive https://github.com/espressif/esp-idf.git in under a directory C:\ESP\esp-idf
3. Downloaded the template into directory myapp2 git clone https://github.com/espressif/esp-idf-template.git myapp2
4. Exported export IDF_PATH="C:\ESP\esp-idf"
5. Then hit the make command to compile the project. make
then errors occurs:
$ make
/bin/sh: python: not fund command
make[1]: *** [/c/ESP/esp-idf/components/esptool_py/Makefile.projbuild:49: /c/esp/myapp2/build/bootloader/bootloader.bin] ERROR 127
make: *** [/c/ESP/esp-idf/components/bootloader/Makefile.projbuild:31: /c/esp/myapp2/build/bootloader/bootloader.bin] ERROR 2
Please for any advice.
Many thanks,
Pawel
-
- Posts: 64
- Joined: Tue Jan 10, 2017 1:09 pm
Re: Setting up Development Toolchain for ESP32
Hi
make sure to run "minigw32.exe" (or 64) and not "msys2.exe"
make sure to run "minigw32.exe" (or 64) and not "msys2.exe"
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
I`m running msys2_shell.cmd
Regards,
Pawel
Regards,
Pawel
-
- Posts: 64
- Joined: Tue Jan 10, 2017 1:09 pm
Re: Setting up Development Toolchain for ESP32
No, you must run minigw32.exe as explained in the guide:
http://esp-idf.readthedocs.io/en/latest ... setup.html
Check it Out
Open an MSYS2 terminal window by running C:\msys32\mingw32.exe. The environment in this window is a bash shell.
http://esp-idf.readthedocs.io/en/latest ... setup.html
Check it Out
Open an MSYS2 terminal window by running C:\msys32\mingw32.exe. The environment in this window is a bash shell.
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
I have made everything following by tutorial.
As soon as I make this step: http://esp-idf.readthedocs.io/en/latest ... et-esp-idf nothing works..
Before I`ve downloaded
command menuconfig was working
As soon as I make this step: http://esp-idf.readthedocs.io/en/latest ... et-esp-idf nothing works..
Code: Select all
pbl@pbl-Komputer MINGW64 ~
$ make menuconfig
make: *** No rules to execute object 'menuconfig'. Stop.
Code: Select all
pbl@pbl-Komputer MINGW64 ~
$ make flash
make: *** No rules to execute object 'flash'. Stop.
Code: Select all
git clone --recursive https://github.com/espressif/esp-idf.git
Re: Setting up Development Toolchain for ESP32
You should change directory to place where you have example project or template before executing "make"
But according to your output your current dir is your home dir (~)
But according to your output your current dir is your home dir (~)
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
Code: Select all
pbl@pbl-Komputer MINGW64 /c/ESP/esp-idf/examples/get-started
$ make flash
make: *** No rules to execute object 'flash'. Stop.
Re: Setting up Development Toolchain for ESP32
Dir where you run 'make' should have 'Makefile', for example "esp-idf/examples/get-started/hello_world"
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
There it is.
I don`t know...maybe I should start installation at the beginning? Remove all and then start again?
I don`t know...maybe I should start installation at the beginning? Remove all and then start again?
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Setting up Development Toolchain for ESP32
Yes, this is advisable to start from scratch but following step by step http://esp-idf.readthedocs.io/en/latest ... index.html.I don`t know...maybe I should start installation at the beginning? Remove all and then start again?
If you diverge from this procedure it takes extra time and effort to find out the issue and help you out.
Who is online
Users browsing this forum: No registered users and 181 guests