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

    micropython flowlib missing sources

    Micropython
    8
    15
    23.3k
    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.
    • T
      tialm
      last edited by

      Hi!
      I am trying to compile a custom micropython firmware (that makes use of littlevGL) but I am missing some m5stack libraries... where can I find the libraries sources that are not included in https://github.com/m5stack/UIFlow-Code ? For example the Unit library, the m5stack, m5base, face, power and many others.
      Thanks for the help!

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

        I would like to know this as well. I flashed my old (EOL and non-supported) white version of M5Stick with Micropython 1.12 to see if I could get BLE working with one of the examples. I was successful getting this basic BLE example from forum.micropython.org working, so I then tried to get the ENV unit connected and working, only to find that I couldn't find the unit library anywhere on the UIFlow GitHub repo. Ultimately, I was able to use dth12.py from your link above and now have a basic PoC of the M5Stick with ENV unit reporting temperature values to the BluetoothLE app on my iPhone via BLE, but it would be good to have all the libs posted to the GitHub repo.

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

          Indeed! It would be a major major feature to have access to that! It would open many new possibilities.
          Glad you managed to fix your PoC! Still working on mine but having a big headache trying to put littlevGL to work ahah.

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

            @world101 m5stack is now doing some quality surveys etc, do it and tell them to make this available! Maybe they'll do that if more people ask for it!

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

              @world101 I extracted the modules from the flash of an original stick with 1.2.3 firmware and uploaded them to my github https://github.com/lukasmaximus89/M5Stick-1.2.3-Modules perhaps it may be useful to you. An important point though is 1.2.3 firmware is based on loboris micropython fork so those modules are likely to be incompatible with the latest main branch of micropython

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

                @lukasmaximus

                Thanks, but I'm not sure that helps that much. I'm more interested in the new libs bundled with the current firmware based on Micropython v1.11. Can those be extracted as well? If not, since you work at M5Stack, can you talk to a colleague to obtain them? They must exist somewhere if they are included with the newer firmware, right?

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

                  I share @world101 thoughts. In another post ( http://community.m5stack.com/topic/1586/micropython-fresh-start/6 ) that diverged to the same issue I posted the following (for simplicity we should, from now on, keep the discussion in the current post instead of the other one.)

                  "Thanks @lukasmaximus ! Good link for some info!
                  I understand that they are now frozen in bytecode, but to do that you first need the normal source code. I know we can access https://github.com/m5stack/UIFlow-Code but those are only the ones that are not frozen. It would be a HUGEEE help and benefit for the community that the rest of the code would also be available. For example, I am making a project in which I need to do a custom micropython firmware with littlevGL and other stuff frozen, but without the source code that is currently frozen on your MP version I can't use my version with full potential on a m5stack. So if you could release the source code before being turned into bytecode, that would be a great help!
                  Even if someone doesn't want to create a new MP custom firmare, just having the code would be easier to see what M5stack libraries are available, with no need to use repl to print them all.
                  Hope I was not too confuse, I can clarify if needed!"

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

                    Any update on this subject?

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

                      2 months have passed, any development?

                      m5stackM 1 Reply Last reply Reply Quote 0
                      • m5stackM
                        m5stack @tialm
                        last edited by

                        @tialm we has plan to open source all Unit code. but maybe it need wait the UIFlow2.0 version finish

                        W J 2 Replies Last reply Reply Quote 0
                        • W
                          waroffice @m5stack
                          last edited by

                          @m5stack Hi m5stack, Any news on the open source / UIflow 2.0? progress

                          m5stackM 1 Reply Last reply Reply Quote 0
                          • m5stackM
                            m5stack @waroffice
                            last edited by

                            @waroffice please wait patiently

                            R 1 Reply Last reply Reply Quote 1
                            • R
                              rdlaner @m5stack
                              last edited by

                              @m5stack I'm just getting started with the UI-Flow firmware and am very interested in seeing more of it go open source, especially the the code for the Hats.

                              Any updates on open source plans?

                              1 Reply Last reply Reply Quote 0
                              • J
                                JackH @m5stack
                                last edited by

                                @m5stack said in micropython flowlib missing sources:

                                @tialm we has plan to open source all Unit code. but maybe it need wait the UIFlow2.0 version finish

                                How are you doing with this @m5stack?

                                The promise to be able to use MicroPython on bare metal is what attracted me to your gadget in the first place, I certainly wasn't expecting to have to start from scratch. You do realize that for those of us in this predicament the cores without input/output libs are just nice looking tiny plastic bricks, right? Based on this thread patience is wearing thin and you are losing customers.

                                You can share with a click of the mouse those drivers that already work well in the current UIFlow (1.6.4), start with the basics (axp192, lcd, buttons,...) - and some instructions on how to build/freeze them in.

                                No need to get them perfect, just do it.

                                Thanks!

                                U 1 Reply Last reply Reply Quote 1
                                • U
                                  UmbraAtrox @JackH
                                  last edited by

                                  @m5stack said in micropython flowlib missing sources:

                                  @tialm we has plan to open source all Unit code. but maybe it need wait the UIFlow2.0 version finish

                                  10 months later...

                                  So has there been any updates on this? If i knew this would end up in proprietary BS again i would have bought something else. Wasn't the whole point about learning to program Microcontrollers to NOT be some random companies b*tch? The device is great. But like this its just a blockly-toy.

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