From 3ef6a7a9e43ee5c2f3fa4198bfab626f55c0cc38 Mon Sep 17 00:00:00 2001 From: dariush Date: Thu, 18 Jul 2024 14:48:01 +0200 Subject: [PATCH] Add littlefs partition subtype (#1426) added littlefs to list of recognised subtypes in _parse_partitions --- builder/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/main.py b/builder/main.py index 98ae15526..2cb21d1ab 100644 --- a/builder/main.py +++ b/builder/main.py @@ -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(