Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Mmiscool
#26699 The bat file I am using with the staging version.
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.
Code: Select allINN=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[