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