You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flash chip size needs a size thats is able to hold the old sketch (currently running) and the new sketch (OTA) at the same time.
83
+
keep in mind that the File system and EEPROM for example needs space too (one time) see [flash layout](https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md#flash-layout).
84
+
```cpp
85
+
ESP.getFreeSketchSpace();
86
+
```
87
+
can be used for checking the free space for the new sketch.
88
+
83
89
84
90
85
91
The following chapters provide more details and specific methods of doing OTA.
0 commit comments