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:
@ -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:
|
||||
|
Reference in New Issue
Block a user