MicroPython Firmware with M5Stack libraries
-
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? -
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. -
What exactly do you mean with 'Blynk UIFlow discussion'?
-
@alexruf said in MicroPython Firmware with M5Stack libraries:
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 -
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_MicroPythonOr you could give this one a try as well:
https://github.com/tuupola/micropython-m5stack -
Thanks! This is exactly what I was looking for.
-
@world101
Interesting, may have to try that on one of mine -
@world101 is there one for M5StickC? The sample codes are for the larger model.
-
@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.
-
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
-
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