OTA of large sketch
Posted: Fri Feb 09, 2018 11:51 pm
Hello,
I would like to try OTA updating. I have the http server version working well on a test sketch of about 300 kB. But my real project sketch is currently 840 kB. I understand this will not work because new sketch must be temporarily copied into the first 1MB so there is not enough room remaining.
However I have 4 MB total FLASH and last 3 MB are called SPIFFS so I wonder if that can be used somehow? I am not using the FLASH file system for anything. Thanks for any clues.
I would like to try OTA updating. I have the http server version working well on a test sketch of about 300 kB. But my real project sketch is currently 840 kB. I understand this will not work because new sketch must be temporarily copied into the first 1MB so there is not enough room remaining.
However I have 4 MB total FLASH and last 3 MB are called SPIFFS so I wonder if that can be used somehow? I am not using the FLASH file system for anything. Thanks for any clues.