mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Re-add deprecated _SPIFFS_xxx linker symbols (#6543)
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
This commit is contained in:
committed by
david gauchard
parent
2b9fcdb568
commit
418b00f7c0
@ -1274,6 +1274,12 @@ def flash_map (flashsize_kb, fs_kb = 0):
|
||||
print("PROVIDE ( _FS_page = 0x%X );" % page)
|
||||
print("PROVIDE ( _FS_block = 0x%X );" % fs_blocksize)
|
||||
print("PROVIDE ( _EEPROM_start = 0x%08x );" % (0x40200000 + eeprom_start))
|
||||
# Re-add deprecated symbols pointing to the same address as the new standard ones
|
||||
print("/* The following symbols are DEPRECATED and will be REMOVED in a future release */")
|
||||
print("PROVIDE ( _SPIFFS_start = 0x%08X );" % (0x40200000 + fs_start))
|
||||
print("PROVIDE ( _SPIFFS_end = 0x%08X );" % (0x40200000 + fs_end))
|
||||
print("PROVIDE ( _SPIFFS_page = 0x%X );" % page)
|
||||
print("PROVIDE ( _SPIFFS_block = 0x%X );" % fs_blocksize)
|
||||
print("")
|
||||
print('INCLUDE "local.eagle.app.v6.common.ld"')
|
||||
|
||||
|
Reference in New Issue
Block a user