chrisjoyce911 / esp32FOTA

Experiments in firmware OTA updates for ESP32 dev boards
The Unlicense
358 stars 86 forks source link

Preserving variables saved by EEPROM.writeDouble while upgrading #142

Closed TBKRK closed 1 month ago

TBKRK commented 8 months ago

Arduino board: esp32

Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.19

Hello, I still use version 1.1 of this library (I know... I should upgrade). Please let me know if upgrading code by this library (or later) will preserve the values of variables saved by EEPROM.writeDouble? I think sometimes after upgrading some of saved variables have different values.

Regards Tomasz

tobozo commented 1 month ago

hi,

usually OTA updates don't affect the NVS partition, but you should backup your EEPROM values just in case