The recommended version of Micropython for this board is
MicroPython_LoBo_esp32_psram_all.zip
from LoBo prebuilt packages.
Flash using esptool
:
esptool --chip esp32 --port PORT --baud BAUD --before default_reset --after no_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader/bootloader.bin 0xf000 phy_init_data.bin 0x10000 MicroPython.bin 0x8000 partitions_mpy.bin
Or you can use any other GUI/tools and specify address for each file.
Using ampy
:
ampy put main.py