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

    LoPy multiple cores?

    Scheduled Pinned Locked Moved LoPy
    lopythreadingmulticoredual core
    6 Posts 3 Posters 1.7k 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.
    • E Offline
      emil-jacero
      last edited by

      Hi guys and gals,

      I am new to uPy and LoPy. Started a week ago but love it.

      I had some questions about threading. As i understand it, it would be able to support multi core systems and take advantage of the multiple cores. But the specs of the LoPy is not dual core?

      Am i correct that the LoPy or the other pycom hardware is NOT dual core at the moment?
      If so, are there any plans for dual core processors in the future?

      If any of you know other ESP32 systems that have dual core? Please send me the links :)

      tl;dr: Does LoPy have dual core? If not, is it planned for the future?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino
        last edited by jmarcelino

        The LoPy is in fact a dual core ESP32, however the firmware isn't ready to support the two cores yet.

        If you program it in C you can use the two cores.

        1 Reply Last reply Reply Quote 0
        • E Offline
          emil-jacero
          last edited by

          Ok,
          So is it _thread that does not have support for it yet or something else?

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jmarcelino @emil-jacero
            last edited by jmarcelino

            @emil-jacero
            IIRC the original plan was to use one core for the networking stack and the other core to user tasks, so I think μPython threads would still only use one core?

            Actually I remembered seeing a patch to add multi-core support which was merged recently:

            https://github.com/pycom/pycom-micropython-sigfox/pull/33/commits/0a73e168d17d2c072a4dd37f4393212761b9781e

            but I haven't seen it mentioned in any release notes. Perhaps it's already using the two cores.

            E 1 Reply Last reply Reply Quote 0
            • J Offline
              jcaron @emil-jacero
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • E Offline
                emil-jacero @jmarcelino
                last edited by

                @jmarcelino Great, then work is being done :)
                Thanks for the reply!

                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