m5stack

Ressources :

    • http://docs.micropython.org

Quick Guide ( MAC / Linux)

    1. Install ESP TOOL to ease flashing ESP (yes, that's python too :-) :

First, make sure command line tools are installed on MAC OSX

xcode-select --install

Download ESPTOOL https://github.com/espressif/esptool

Download M5stack micropython : https://github.com/m5stack/M5Cloud/tree/master/firmwares

Now, upload firmware to ESP via serial port (put your ESP in upload mode -->

esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 Downloads/esp32-bluetooth.bin

That's done, you can connect now via any serial terminal !

screen /dev/cu.SLAB_USBtoUART 115200

Screen / microPython shortcuts:

Ctrl-A K

Ctrl-D

exit

restart