Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f9502aa

Browse files
committedOct 1, 2018
cleanly restore spiffs data in boards.txt
1 parent 7643e7b commit f9502aa

File tree

2 files changed

+354
-6
lines changed

2 files changed

+354
-6
lines changed
 

‎boards.txt‎

Lines changed: 348 additions & 0 deletions
Large diffs are not rendered by default.

‎tools/boards.txt.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,12 +1119,12 @@ def flash_map (flashsize_kb, spiffs_kb = 0):
11191119
( menu + '.upload.maximum_size', "%i" % max_upload_size ),
11201120
( menub + 'rfcal_addr', "0x%X" % rfcal_addr)
11211121
])
1122-
#if spiffs_kb > 0:
1123-
# d.update(collections.OrderedDict([
1124-
# ( menub + 'spiffs_start', "0x%05X" % spiffs_start ),
1125-
# ( menub + 'spiffs_end', "0x%05X" % spiffs_end ),
1126-
# ( menub + 'spiffs_blocksize', "%i" % spiffs_blocksize ),
1127-
# ]))
1122+
if spiffs_kb > 0:
1123+
d.update(collections.OrderedDict([
1124+
( menub + 'spiffs_start', "0x%05X" % spiffs_start ),
1125+
( menub + 'spiffs_end', "0x%05X" % spiffs_end ),
1126+
( menub + 'spiffs_blocksize', "%i" % spiffs_blocksize ),
1127+
]))
11281128

11291129
if ldshow:
11301130
if ldgen:

0 commit comments

Comments
 (0)
Please sign in to comment.