in order to be able to use OTA after my firmware grows beyond the ~500K size, I’d like to make SPIFFS on my ESP8266 smaller (or even remove it) so the sketch space will be greater than 1M.
I’m using the Robotdyn NodeMCUs with 2Mbyte (16Mbit) of flash.
Currently, after compiling, platformio shows me this:
PROGRAM: [==== ] 38.1% (used 397504 bytes from 1044464 bytes)
how do I change the 1MB to 2MB? Is this even necessary or is the second megabyte already reserved for OTA (and eeprom and stuff)?
I don’t epect my firmware to grow to 1 Meg but it might grow slightly beyond 512K.