1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

Fix negative SPIFFS size (#5522)

This commit is contained in:
Max Prokhorov
2018-12-19 05:33:41 +03:00
committed by Develo
parent 3a36501d6d
commit d6c743027d
3 changed files with 7 additions and 6 deletions

View File

@ -1206,6 +1206,7 @@ def flash_map (flashsize_kb, spiffs_kb = 0):
sys.stdout = open(lddir + ld, 'w')
if spiffs_kb == 0:
spiffs_start = spiffs_end
page = 0
block = 0
elif spiffs_kb < 0x80000 / 1024: