Skip to content

Commit

Permalink
Add littlefs partition subtype (#1426)
Browse files Browse the repository at this point in the history
added littlefs to list of recognised subtypes in  _parse_partitions
  • Loading branch information
dariush authored Jul 18, 2024
1 parent 68ad40f commit 3ef6a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _to_unix_slashes(path):
def fetch_fs_size(env):
fs = None
for p in _parse_partitions(env):
if p["type"] == "data" and p["subtype"] in ("spiffs", "fat"):
if p["type"] == "data" and p["subtype"] in ("spiffs", "fat", "littlefs"):
fs = p
if not fs:
sys.stderr.write(
Expand Down

0 comments on commit 3ef6a7a

Please sign in to comment.