How to install pycom-esp-idf to modify firmware.
-
Hello,
I'm trying to install pycom-esp-idf since two days and I'm completly lost...
I've red thousand of topics an none describe the procedure in details.
I've installed first MSYS2 on my Windows based PC and get it uptodate.
But then, where do I install the different repository (pycom-esp-idf and pycom-micropyton-sigfox), on the home user path ?
Can someone give me a picture of the tree of all the repository needed ?
Thanks. -
@bbel91
if you are on the user folder inMSYS2console you must go to the topcd.. cd..
and you then clone pycom-esp-idf and pycom-micropyton-sigfox there
and as result you will have (i write from memory)MSYS2/ pycom-esp-idf pycom-micropyton-sigfoxto build firmware remember to do first after MSYS2 installed:
pacman -Syu pacman -Su -
@livius Thanks but it's not what it is discribe in this procedure...
They also write :$ cd pycom-esp-idf
$ git submodule update --init
Finally, before building, export the IDF_PATH variable$ export IDF_PATH=~/pycom-esp-idf
Prior to building the main firmware, you need to build mpy-cross$ cd mpy-cross && make clean && make && cd ..
but mpt-cross is not in the "pycom-esp-idf" repository... it is the "pycom-micropython-sigfox" !
-
mpy-cross is not in the "pycom-esp-idf" repository... it is the "pycom-micropython-sigfox" !
That's right, and that's the place to build mpy-cross. mpy-cross is a part of micropython.
-
@robert-hh thanks for your reply.
I have a new issue under Windows 10 (but not with Windows 8...) :Bruno@DESKTOP-BMDS53S MINGW32 ~/esp
$ git clone https://github.com/espressif/esp-idf.git
Clonage dans 'esp-idf'...
0 [main] git-remote-https 14872 child_info_fork::abort: C:\msys32\usr\bin\msys-icudata59.dll: Loaded to different address: parent(0x30A0000) != child(0x3050000)
error: cannot fork() for fetch-pack: Resource temporarily unavailableAn idea for a possible reason ?
Thanks. -
@bbel91 for the Pycom software you must clone the pycom-esp-idf at https://github.com/pycom/pycom-esp-idf
And, just of interest, which git client are you using?
Edit: I just tried to clone pycom-esp-idf on a windows 10 machine using git bash, and it worked well. -
@robert-hh I have the same problem with "https://github.com/pycom/pycom-esp-idf"...
I've tryed with "https://github.com/espressif/esp-idf.git" to follow a procedure on a tuto.
I use the git command directly from msys32 (mingw32.exe). Is that your question ?
At my office I have Windows 8 and all the installion goes well but at the end I get issues with make function. At home I have Windows 10 and with the same installing procedure I get issues while installing.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login