-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Backward compatibility #2832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
I just updated to 1.0.3-rc1 last night. So after lots of debug prints etc getting deeper into cryptic file system code, I give up and come to the Arduino ESP32 repo here, find this message, re-format SPIFFS, and all is good again! So yeah, there is some sort of backwards compatibility that is preventing file reads from progressing... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hardware:
Board: TTGO with OLED
Core Installation version: git dowloaded yesterday
IDE name: Arduino IDE
Flash Frequency: 80MHz
PSRAM enabled: No
Upload Speed: 115200
Computer OS: Windows
Description:
SPPIFS, EEPROM and NVS are not compatible with older version (my previous version of my IDE was a more than one year old version with SDK v3.0).
Let me provide some contextual information. I developing a network of connected object connecting to a master node. When connecting ESP32 is automatically updated with a version of the firmware stored by the master node. This design avoids interface issues when the connected object goes from one master node to another one that is not configured with the same version.
As a consequence a connected object can be updated with a newer or older version depending on the master node it is connecting to. Every thing was fine as far as I did not update my IDE (hardware/espressif/esp32/...).
With the newest version I found the following compatibility issues:
EEPROM : located on nvs partition instead of specific partition. This makes retreival of old data impossible. However I can handle this point by keeping an old style default.csv and the old stype EEPROM.h/cpp code.
NVS : Someting changed. When updating to a newer version it seems that forward compatibility is well managed as my ESP32 restarts correctly. However in case of updating with an older version (3.0) I've got the following Exception
Is there any chance that SDKConfig option can remain unchanged in the future or that Arduino IDE introduce a way for recompliling SDK when changing option out of the box and without installing by myself the espressif IDF.
OK, this is not an conventional issue, and I'm not expecting a strait answer, but I wanted to open the debat on keeping this wonderfull piece of design (EPS32 on Arduino IDE) compatible with the past and the future.
Thanks
The text was updated successfully, but these errors were encountered: