🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    MicroPython Firmware with M5Stack libraries

    Micropython
    6
    11
    26.7k
    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.
    • A
      alexruf
      last edited by

      Hi,

      I wanted to install the MicroPython firmware on my M5Stack, and start programming in from scratch (without all the preinstalled bloat and CloudIDE stuff).
      I just managed to flash the original MicroPython Firmware to my M5Stack. Works so far. I am able to get a REPL via serial connection ober UART0.
      But in order to do something more with MicroPython I guess I need to install the M5Stack Python libraries now. I am not very experienced and have no clue how to do this. Can anyone give me an hint what I need to do next?

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        REPL works with the stock UIFlow firmware (to a degree)
        You will need a command line tool to install python libs.
        For more information on this take a look in the Blynk UIFlow discussion.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        A 1 Reply Last reply Reply Quote 0
        • A
          alexruf @ajb2k3
          last edited by

          @ajb2k3

          What exactly do you mean with 'Blynk UIFlow discussion'?

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @alexruf
            last edited by ajb2k3

            @alexruf said in MicroPython Firmware with M5Stack libraries:

            @ajb2k3

            What exactly do you mean with 'Blynk UIFlow discussion'?

            sorry forgot the link to the discussion
            http://community.m5stack.com/topic/575/blynk-on-m5stack-via-uiflow-and-block-maker/14

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • world101W
              world101
              last edited by

              If you want to use a basic MicroPython firmware without all the bloat (preloaded apps/games, etc.) and CloudIDE (i.e. uiFlow) stuff that comes with the stock firmware, you should try this repo:
              https://github.com/m5stack/M5Stack_MicroPython

              Or you could give this one a try as well:
              https://github.com/tuupola/micropython-m5stack

              A ajb2k3A J 3 Replies Last reply Reply Quote 0
              • A
                alexruf @world101
                last edited by

                @world101

                Thanks! This is exactly what I was looking for.

                1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3 @world101
                  last edited by

                  @world101
                  Interesting, may have to try that on one of mine

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • J
                    jhfoo @world101
                    last edited by

                    @world101 is there one for M5StickC? The sample codes are for the larger model.

                    world101W 1 Reply Last reply Reply Quote 0
                    • world101W
                      world101 @jhfoo
                      last edited by

                      @jhfoo said in MicroPython Firmware with M5Stack libraries:

                      @world101 is there one for M5StickC? The sample codes are for the larger model.

                      Not to my knowledge. You would need to flash the m5stickC with the standard MicroPython firmware (see this link) then manually import whatever m5stickC libs you want to use from here.

                      1 Reply Last reply Reply Quote 0
                      • lukasmaximusL
                        lukasmaximus
                        last edited by

                        The theme of this weeks video will be on this subject, if your patient you can wait until Friday and there will be a full video on it. Otherwise check out this repo if you know what your doing https://github.com/lukasmaximus89/M5Stick-C-Micropython-1.12

                        1 Reply Last reply Reply Quote 0
                        • T
                          tialm
                          last edited by

                          Hi @lukasmaximus ! Any idea on when an updated version of the micropython m5stack libraries will be available? Since the ones in here are not complete, and don't if they are up to date with the current version used in uiflow

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post