• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
M5Stack Community
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

MicroPython Firmware with M5Stack libraries

Micropython
6
11
26.1k
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 Mar 3, 2019, 12:20 PM

    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
    • A
      ajb2k3
      last edited by Mar 3, 2019, 1:52 PM

      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 Mar 3, 2019, 4:47 PM Reply Quote 0
      • A
        alexruf @ajb2k3
        last edited by Mar 3, 2019, 4:47 PM

        @ajb2k3

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

        A 1 Reply Last reply Mar 4, 2019, 5:35 PM Reply Quote 0
        • A
          ajb2k3 @alexruf
          last edited by ajb2k3 Mar 5, 2019, 1:35 AM Mar 4, 2019, 5:35 PM

          @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
          • W
            world101
            last edited by Mar 5, 2019, 1:28 AM

            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 A J 3 Replies Last reply Mar 5, 2019, 6:34 AM Reply Quote 0
            • A
              alexruf @world101
              last edited by Mar 5, 2019, 6:34 AM

              @world101

              Thanks! This is exactly what I was looking for.

              1 Reply Last reply Reply Quote 0
              • A
                ajb2k3 @world101
                last edited by Mar 5, 2019, 10:20 AM

                @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 May 13, 2020, 4:56 AM

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

                  W 1 Reply Last reply May 13, 2020, 11:24 AM Reply Quote 0
                  • W
                    world101 @jhfoo
                    last edited by May 13, 2020, 11:24 AM

                    @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
                    • L
                      lukasmaximus
                      last edited by May 14, 2020, 5:32 AM

                      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 May 18, 2020, 8:55 PM

                        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