The ESP8266 flash layout defines a series of blocks of memory for each "partition". There is a block for the user code (the "sketch"), there is a block for the OTA update file, another one for the ...