-->
Page 3 of 3

Re: OTA erases SPIFFS? (SOLVED)

PostPosted: Wed Aug 15, 2018 1:28 am
by JimDrew
I was able to solve this issue by putting SPIFFS.begin() in the Startup() code. Even though I have this code in the Main(), it needs to be (also?) in the Startup() as well. Kind of odd, but it now works correctly doing this.

Re: OTA erases SPIFFS? (SOLVED)

PostPosted: Wed Aug 15, 2018 3:28 am
by schufti
maybe it is just necessary that spiff is started before OTA?

Re: OTA erases SPIFFS? (SOLVED)

PostPosted: Wed Aug 15, 2018 2:12 pm
by martinayotte
Although I'm still using 2.3.0, in my Sketch_Buffet, I'm using SPIFFS.begin well after OTA and both works well and not SPIFFS is not erased after a new upload.

Re: OTA erases SPIFFS?

PostPosted: Thu Aug 16, 2018 4:14 am
by AcmeUK