1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

cleanly restore spiffs data in boards.txt (#5195)

This commit is contained in:
david gauchard 2018-10-01 16:10:24 +02:00 committed by Develo
parent 7643e7b05b
commit 88d0a15f0a
2 changed files with 354 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1119,12 +1119,12 @@ def flash_map (flashsize_kb, spiffs_kb = 0):
( menu + '.upload.maximum_size', "%i" % max_upload_size ),
( menub + 'rfcal_addr', "0x%X" % rfcal_addr)
])
#if spiffs_kb > 0:
# d.update(collections.OrderedDict([
# ( menub + 'spiffs_start', "0x%05X" % spiffs_start ),
# ( menub + 'spiffs_end', "0x%05X" % spiffs_end ),
# ( menub + 'spiffs_blocksize', "%i" % spiffs_blocksize ),
# ]))
if spiffs_kb > 0:
d.update(collections.OrderedDict([
( menub + 'spiffs_start', "0x%05X" % spiffs_start ),
( menub + 'spiffs_end', "0x%05X" % spiffs_end ),
( menub + 'spiffs_blocksize', "%i" % spiffs_blocksize ),
]))
if ldshow:
if ldgen: