I have now returned to the Sloeber IDE and my main project where I am going to switch from ESP-07 to ESP-07S.
The main difference is the flash size, so I need to choose one from the list. I find the following two 4M items:
- 4M (1M SPIFFS)
- 4M (3M SPIFFS)
And the existing setting is
1M (64K SPIFFS)
I want the existing sketch loaded into the new ESP module with OTA enabled (WebUpdater) and EEPROM the same size as before.
Which type should I select (maybe 4M (1M SPIFFS))?
And concerning Erase Flash I found these options:
- All Flash Contents
- Only Sketch
- Sketch + WiFi Settings
If I select All Flash Contents, will the EEPROM area also be affected?
If that is the case, maybe I should do a first flash load using All Flash Contents and then switch to Only Sketch?
The WiFi is always set up in my setup() function so I don't know what that option will do.
Do these settings apply also if the sketch is later rebuilt but programmed using the WebUpdater OTA system instead of the built-in programmer? OTA should not be able to erase itself, right?
Before sending this I tested to change the properties of the project to use the 4M(1MSPIFFS) setting, but when I hit the Close+Apply button I got an error message saying that the Release directory is not possible to write to.
And this is correct! I have no idea how this has happened because that directory is entirely handled by Sloeber...
Now even though I have closed Sloeber I cannot enter or change owner or even display the security settings for the Release directory...
Any advice on how to proceed to be able to build the sketch?