Beta version (v2.0.0 for Mac) looks nice. Thanks @m5stack.
Posts made by world101
RE: Adding an app to my App List on v1.5.2 M5Stack Fire
...can download and run it on the M5Stack Fire
Are you sure you used the Download button within uiFlow and not the Play/Run button?
There is a 1-second timeout after boot up that allows the user to press the App, " : ", and Setup buttons. When you use the Download feature within uiFlow, it will download your app to your device, and then it should show up in the App list. Be sure to rename your Project name from "main" in the upper left of uiFlow so you can distinguish it from other apps. If not, it will overwrite main.py each time.
For deleting apps within the Apps menu, in v1.4.5.x you would hold the ▼/DEL button to delete them. However, I think there is a bug in v1.5.x and there is not an option to delete. You will need to delete them manually from the /flash/apps directory by using ampy, Thonny, etc.
RE: Silicon labs CP210x driver not working on my Mac with Catalina OS( version 10.15.4)
I have these archived files on my Mac if you want to try them:
SiLabsUSBDriverDisk.dmg dated Jan 6, 2018
SiliconLabsUSBDriverDisk.dmg dated Jan 23, 2018
If you want to try the files, Direct Message your email and I'll email it to you.
I'm on Catalina 10.15.4 and have no issues burning any of my M5stack products (grey core, fire core, m5stick, m5stickC, atom matrix). I always use the official Apple USB-C Digital AV Multiport Adapter on my 2015 MacBook Pro and a USB-A to USB-C cable (sometimes reversing the USB-C side orientation (i.e. "flip it over") if the driver doesn't seem to detect the device).
It may be due to the fact that I installed the Silicon Labs drivers many years ago when I first started the M5stack journey. However, along the way, there have been issues with OSX that have required me to fix/patch things.... most recently with the m5stickC/m5atom driver patch (Solution2 from this thread).
RE: How to acquire and upload demo app?
What do you use to transfer files both ways?
I use Adafruit ampy because it supports get and put to transfer files both ways. You could also try the Thonny IDE that @lukasmaximus mentioned in the other thread. I haven’t tried that yet.
I did try Mu IDE today with an m5stickC running the mainline MicroPython v1.12 firmware, but I wasn’t successful getting the REPL to work. It didn’t seem to detect the serial port connection to the m5stickC. However, Mu REPL did work for me with an M5Stack core running uiFlow v1.5.0 though.
RE: How to acquire and upload demo app?
I'm on a Mac and I use the OSX Terminal and the screen utility to access the REPL. On Windows, you might need to use Putty or something similar. With the uiFlow firmware burned to your m5stickC you can access the REPL.
screen /dev/tty.usbserial-514A6FFF41 115200
Once I'm in the screen session, I press Ctrl+C a few times to get to the REPL prompt. In the output below, I'm pressing Ctrl+C after it says "start m5ucloud monitor":
MPY: soft reboot I (683470) [TFTSPI]: attached display device, speed=8000000 I (683470) [TFTSPI]: bus uses native pins: false [ M5 ] node id:d8a01d698f30, api key:6501754B start m5ucloud monitor Unhandled exception in thread started by <bound_method> Traceback (most recent call last): File "flowlib/lib/time_ex.py", line 69, in timeCb KeyboardInterrupt: Traceback (most recent call last): File "flow_usb.py", line 28, in <module> File "flowlib/m5ucloud.py", line 45, in run File "flowlib/lib/time_ex.py", line 69, in timeCb KeyboardInterrupt: MicroPython v1.11-321-gac7da0a70-dirty on 2020-02-25; ESP32 module with ESP32 Type "help()" for more information. >>> >>> >>> import os >>> os.listdir() ['image_app', 'flow_usb.py', 'config.json', 'main.py', 'res', 'boot.py', 'img', 'config.py', 'flow.py', 'blocks', 'apps', 'debug.py'] >>> >>> f = open('main.py') >>> f.read() 'from m5stack import *\nfrom m5ui import *\nfrom uiflow import *\n\nsetScreenColor(0x111111)\n\nlabel1 = M5TextBox(24, 70, "TEST", lcd.FONT_Default,0xFFFFFF, rotate=0)' >>> >>> f.close() >>> >>>
In the above example, I open the main.py file (which is the 'test' app I think you are referring to) and read it to the REPL output. You can use other text editors to create your MicroPython programs and upload them to the m5stickC using ampy or another utility. Just save the file as main.py, upload it to the m5stickC and it will run after boot.py.
Here is a good resource to look through.
RE: MicroPython Firmware with M5Stack libraries
@world101 is there one for M5StickC? The sample codes are for the larger model.