@echo off
esptool.exe --chip esp32 --port COM5 erase-flash
esptool.exe --chip esp32 --port COM5 --baud 460800 write-flash -z 0x1000 esp32-2432S028R-ST7789.bootloader.bin 0x8000 esp32-2432S028R-ST7789.partitions.bin 0xe000 esp32-2432S028R-ST7789.boot.bin 0x10000 esp32-2432S028R-ST7789.bin
pause
