How to write your M5Stack?
python esptool.py --chip esp32 --port /dev/<Enter your USB device> --baud 2000000 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 bootloader.bin 0x20000 spi_master.bin 0x8000 partitions.bin
This binary distributed under PCL. Non-commercial use
You are allowed to use this MMD model only if you follow the guideline
set by Crypton Future Media, INC. for the usage of its characters.
For detail, see: http://piapro.net/en_for_creators.html
And, have fun!