M5Cloud
M5Cloud copied to clipboard
Example esptool.py command doesn't specify --flash_mode dio
Current README.md has teh following CLI example for flashing M5Cloud:
esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART write_flash -z 0x1000 firmware.bin
Flashing suceeds with this, but the device then fails to boot. ESP32 has to be flashed in dual IO mode (DIO) - see https://github.com/espressif/esptool
This version has been tested/works on MacOS:
esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART write_flash --flash_mode dio -z 0x1000 firmware.bin
Thanks for your correct! I updated the README.