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

    Open source Licence

    Scheduled Pinned Locked Moved Announcements & News
    27 Posts 9 Posters 17.2k Views 9 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.
    • D Offline
      daniel
      last edited by

      @livius yes, machine.time_pulse_us() is very useful and we will implement it for the ESP32. A number of function in the time module are incomplete due to previous limitations of the IDF. The plan is to get back to that and implement them in early January.

      Cheers,
      Daniel

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

        @daniel
        thank you for the info - especially about time frame

        think about people first, then computers

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

          @daniel
          Can i ask what is IRAM_ATTR in functions declaration?

          think about people first, then computers

          1 Reply Last reply Reply Quote 1
          • D Offline
            daniel
            last edited by

            @livius that's needed in order to place functions inside the instruction RAM of the ESP32. Otherwise they will reside in flash, which means that they need to be fetched from the SPI flash everytime there's a cache miss. Time critical functions must be placed inside IRAM, as well as interrupt handlers.

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

              @daniel
              Thank you very much :)
              I still analyze repo (and learn C which is not my language) and need to understand internals until i change something on my side.

              think about people first, then computers

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

                We have correlation between
                pycom/pycom-micropython
                and
                https://github.com/pycom/pycom-esp-idf

                will be good when you send update to new version
                e.g. 1.3.0.b1 do the same in pycom-esp-idf

                because i do not know now how to revert firmware to older version.
                I can simply download pycom-micropython at certain firmware version(commit)
                but do not know how do this in correlation with esp-idf (do not know which commit)

                think about people first, then computers

                1 Reply Last reply Reply Quote 0
                • D Offline
                  daniel
                  last edited by

                  @livius I was almost sure that we also pushed to Github the latest pycom-esp-idf, but it seems we didn't. That is corrected now and everything us up to date. Thanks for pointing it out.

                  Cheers,
                  Daniel

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

                    @daniel
                    but i do not talk about this
                    only when you commit to pycom-esp-idf
                    add comment or some file as "version" and write there same string as is for pycom-micropython e.g. `1.3.0.b1'

                    we then can back in commits and download esp-idf and pycom in the same version (older)

                    but thank you for the update

                    think about people first, then computers

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      daniel
                      last edited by

                      @livius good point, we'll start tagging it like this from now on. Thanks!

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        beyonlo @Fred
                        last edited by

                        I am pleased to confirm that the firmware of Pycom modules is now Open source and can be found here https://github.com/pycom/pycom-micropython

                        I remember to read in the past a topic in the "Announcements & News" about that PyCom and Micropython (Damien George) will work together on ESP32 port. Well, I would like to know some things:

                        1. Where are there this topic? Anyone can past me the URL?
                        2. Is this https://github.com/micropython/micropython-esp32 the official address to MicroPython to ESP32 where PyCom and Damien are working together?
                        3. I remember (via that announcement) that PyCom will be to commit the source code ESP32 project directally to official port (address above), is that happen? Because I checked today that last commit was done more than a month ago and less than a month PyCom released a new firmware with modifications on the MicroPython.

                        Thank you.

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

                        Pycom on Twitter

                        Pycom