It compiles the same sketch to 4 different flash sizes relatively quickly saving me lots of time on the build process.
Edit:Deleted Bad code
Propper Bat File code working. Had an extra quotation mark where it was not needed.
INN=C:\Users\user\Dropbox\MicroController\esp8266\ESP8266_BASIC_INTERPERTERv2\ESP8266_BASIC_INTERPERTERv2.ino
set OUT=C:\Users\user\Dropbox\MicroController\esp8266\ESP8266_BASIC_INTERPERTERv2\ESPBasic_Flash_Tool\Build\
arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=512K,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-files
--pref build.path="%OUT%"\512k" "%INN%"
rem sleep 60
arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=1M512,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-
files --pref build.path="%OUT%"\1M" "%INN%"
rem sleep 60
arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=2M,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-files
--pref build.path="%OUT%"\2M" "%INN%"
rem sleep 60
arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=4M,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-files
--pref build.path="%OUT%"\4M" "%INN%"
rem sleep 60[
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com