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