Setting up Development Toolchain for ESP32
Re: Setting up Development Toolchain for ESP32
that no rule to make target, sounds to me like IDF_PATH is not set.
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
Ok, but how to set the IDF_PATH?
Re: Setting up Development Toolchain for ESP32
where you set it?wind_energy wrote:Ok, but how to set the IDF_PATH?
..$ echo $IDF_PATH
how is the echo out print?
does it show the idf_path ?
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
hi Rudi
C:\msys32\home\pawel\esp\esp-idf - is empty at the moment
Regards,
Pawel
Code: Select all
pbl@pbl-Komputer MINGW64 ~
$ echo $IDF_PATH
C:/msys32/home/pawel/esp/esp-idf
Regards,
Pawel
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
hi Rudi
C:\msys32\home\pawel\esp\esp-idf - is empty at the moment
Regards,
Pawel
Code: Select all
pbl@pbl-Komputer MINGW64 ~
$ echo $IDF_PATH
C:/msys32/home/pawel/esp/esp-idf
Regards,
Pawel
Re: Setting up Development Toolchain for ESP32
from your first post:wind_energy wrote:hi Rudi
C:\msys32\home\pawel\esp\esp-idf - is empty at the momentCode: Select all
pbl@pbl-Komputer MINGW64 ~ $ echo $IDF_PATH C:/msys32/home/pawel/esp/esp-idf
Regards,
Pawel
you must get the exported path "c:/ESP/esp-idf"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
from your next post you have done the recursive download right way cause your IDF_PATH folder does have the esp-idf
so then you started again the install after clean and delete all.
and then there must be done a wrong step - cause your IDF_PATH folder is now empty
and shows to the "C:/msys32/home/pawel/esp/esp-idf"
proposal in this moment:
look at c:\ESP\esp-idf
is this folder now empty or does it have the esp-idf ?
if this folder have the esp-idf
then in clean / delete doings there was a step wrong too
the question is:
how you have done the rekursive download
cause usually the rekursive download must "download to a folder...."
your post shows:
Code: Select all
git clone --recursive https://github.com/espressif/esp-idf.git
Code: Select all
cd ~/esp
git clone --recursive https://github.com/espressif/esp-idf.git
so you will find the esp-idf then here:
Code: Select all
~/esp/esp-idf
Code: Select all
~
user: pbl
home is usually : /home/pbl
but you have an other user here
user is: pawel
Code: Select all
pbl@pbl-Komputer MINGW64 ~
$ echo $IDF_PATH
C:/msys32/home/pawel/esp/esp-idf
and the question is: how is that possible?
it looks,
- you have installed msys32 environment with user: pbl
- you try to install esp-idf to the home of user: pawel
look in the folder structure
Code: Select all
c:/msys32/home
Code: Select all
pbl
pawel
cause the esp-idf shown from your post
shows, that the esp-idf is not in the home installed
but under c:/esp...
short and dirty:
a)
check is your python ok
type
Code: Select all
$ python -V
b)
if you have installed msys32 and toolchain and the things are under c:/msys32
use the msys32 shell command
now check for the runing "make" you have installed:
type
Code: Select all
make -v
c)
if your output is likewise:
example:
Code: Select all
$ python -V
Python 2.7.11
or likewise and you have the esp-idf in c:\esp\esp-idf$ make -v
GNU Make 4.2.1
Gebaut für i686-pc-msys
Copyright (C) 1988-2016 Free Software Foundation, Inc.
Lizenz GPLv3+: GNU GPL Version 3 oder später <http://gnu.org/licenses/gpl.html>
Dies ist freie Software: Sie können sie nach Belieben ändern und weiter verteilen.
Soweit es die Gesetze erlauben gibt es KEINE GARANTIE.
then export the path to the installed esp-idf like this
usually like the install readme is normal:
Code: Select all
export IDF_PATH="C:/msys32/home/Krzysztof/esp/esp-idf"
see detailed to the command, the example shows the user "Krzysztof"
your user name is different, use the right you want use
AND!
if you work with this -
be sure you are login in windows with this user
AND if you set to different folder outside the msys32 shell home ( c:/msys32/home)
example c:/ESP/esp-idf
then you must export the idf like this
Code: Select all
export IDF_PATH="C:/ESP/esp-idf"
before next steps give feedback, does this make now find the makefile?
next step then are example project / Hello world ...
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
-
- Posts: 14
- Joined: Wed May 24, 2017 8:50 pm
Re: Setting up Development Toolchain for ESP32
From your last post you showed that you issued make in the getting started directory but you need to go down 1 more level into the hello world directory and then issue make
-
- Posts: 28
- Joined: Fri Feb 03, 2017 10:36 pm
Re: Setting up Development Toolchain for ESP32
Rudi,
Many thanx !!
Pawel
How can I fix it?there are two users show thenCODE: SELECT ALL
pbl
pawel
Answare:
Code: Select all
pbl@pbl-Komputer MINGW64 ~
$ python -V
-bash: python: No command found
Pawel
Who is online
Users browsing this forum: No registered users and 156 guests