Skip to content

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