To get USB access:
- install the USB serial driver, check that you see a
/dev/cu.wchusbserial1410
device when plugging in the board over USB
To deploy MicroPython on the board:
- get the MicroPython firmware (get the SPIRAM variant to get access to the 4MB of RAM)
- install esptool by running
sudo pip install esptool
- clear the flash by running
esptool.py --chip esp32 --port /dev/cu.usbserial-1410 erase_flash
- flash MicroPython by running
esptool.py --chip esp32 --port /dev/cu.usbserial-1410 --baud 460800 write_flash -z 0x1000 esp32spiram-idf3-20190125-v1.10.bin