Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    How to install pycom-esp-idf to modify firmware.

    Scheduled Pinned Locked Moved Firmware
    fipy
    7 Posts 3 Posters 1.9k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bbel91
      last edited by

      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.

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @bbel91
        last edited by livius

        @bbel91
        if you are on the user folder in MSYS2 console you must go to the top cd.. 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-sigfox
        

        to build firmware remember to do first after MSYS2 installed:

        pacman -Syu
        pacman -Su
        

        think about people first, then computers

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          bbel91 @livius
          last edited by

          @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" !

          robert-hhR 1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @bbel91
            last edited by

            @bbel91

            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.

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              bbel91 @robert-hh
              last edited by

              @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 unavailable

              An idea for a possible reason ?
              Thanks.

              robert-hhR 1 Reply Last reply Reply Quote 0
              • robert-hhR Offline
                robert-hh @bbel91
                last edited by robert-hh

                @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.

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  bbel91 @robert-hh
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0

                  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
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom