Skip to content

Commit 3ef6a7a

Browse files
authored
Add littlefs partition subtype (#1426)
added littlefs to list of recognised subtypes in _parse_partitions
1 parent 68ad40f commit 3ef6a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def _to_unix_slashes(path):
204204
def fetch_fs_size(env):
205205
fs = None
206206
for p in _parse_partitions(env):
207-
if p["type"] == "data" and p["subtype"] in ("spiffs", "fat"):
207+
if p["type"] == "data" and p["subtype"] in ("spiffs", "fat", "littlefs"):
208208
fs = p
209209
if not fs:
210210
sys.stderr.write(

0 commit comments

Comments
 (0)