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:
parent
7643e7b05b
commit
88d0a15f0a
348
boards.txt
348
boards.txt
File diff suppressed because it is too large
Load Diff
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user