@echo off
set /p com_port=Enter the COM port number (e.g., COM22):

esptool.exe --chip esp32 --port %com_port% --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 8MB 0x1000 foxlap.PCB.bootloader.bin 0x8000 foxlap.PCB.partitions.bin 0xe000 boot_app0.bin 0x10000 foxlap.PCB.bin
