mirror of
https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800.git
synced 2026-07-28 04:06:25 +00:00
1.0 KiB
1.0 KiB
Flash Micropython to ESP32
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.
Upload the example
Using ampy:
ampy put main.py