Skip to content

Re-add deprecated _SPIFFS_xxx linker symbols #6543

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

Merged
merged 3 commits into from
Sep 26, 2019

Conversation

earlephilhower
Copy link
Collaborator

In order to give user libs a change to update to the new symbols, re-add
the _SPIFFS_XX symbols to the linker file with a comment that they are
deprecated.

Also add back spiffs_hal_xxx functions, also marked as deprecated.

Fixes #6542

In order to give user libs a change to update to the new symbols, re-add
the _SPIFFS_XX symbols to the linker file with a comment that they are
deprecated.

Also add back spiffs_hal_xxx functions, also marked as deprecated.

Fixes esp8266#6542
@earlephilhower
Copy link
Collaborator Author

Old user code can build now, and will emit deprecated warnings...

/home/earle/Arduino/sketch_sep13a/sketch_sep13a.ino: In function 'void setup()':
/home/earle/Arduino/sketch_sep13a/sketch_sep13a.ino:16:27: warning: '_SPIFFS_end' is deprecated (declared at /home/earle/Arduino/hardware/esp8266com/esp8266/cores/esp8266/spiffs_api.h:46) [-Wdeprecated-declarations]
   Serial.printf("%08x\n", _SPIFFS_end);
                           ^
/home/earle/Arduino/sketch_sep13a/sketch_sep13a.ino:17:3: warning: 'int32_t spiffs_hal_erase(uint32_t, uint32_t)' is deprecated (declared at /home/earle/Arduino/hardware/esp8266com/esp8266/cores/esp8266/spiffs_api.h:56) [-Wdeprecated-declarations]
   spiffs_hal_erase(1,1);
   ^
/home/earle/Arduino/sketch_sep13a/sketch_sep13a.ino:17:23: warning: 'int32_t spiffs_hal_erase(uint32_t, uint32_t)' is deprecated (declared at /home/earle/Arduino/hardware/esp8266com/esp8266/cores/esp8266/spiffs_api.h:56) [-Wdeprecated-declarations]
   spiffs_hal_erase(1,1);
                       ^

@earlephilhower earlephilhower added this to the 2.6.0 milestone Sep 21, 2019
@d-a-v d-a-v merged commit 418b00f into esp8266:master Sep 26, 2019
@earlephilhower earlephilhower deleted the spiffsback branch November 18, 2020 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-add deprecated _SPIFFS_* symbols to the build
2 participants