From 434769d814ceabb574156222bec8031d18d3b93e Mon Sep 17 00:00:00 2001 From: Vladimir Smitka Date: Sat, 17 Oct 2026 07:20:18 +0000 Subject: [PATCH] Fetch micropython-lib for frozen modules in CI When the submodule cache restore fails, ci_fetch_deps.py fetches the submodules itself. Boards with frozen modules then failed to build, because the frozen manifest build needs lib/micropython-lib and it was not fetched. --- tools/ci_fetch_deps.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ci_fetch_deps.py b/tools/ci_fetch_deps.py index 8ef4df9fc6f..c36acc26a73 100644 --- a/tools/ci_fetch_deps.py +++ b/tools/ci_fetch_deps.py @@ -250,6 +250,9 @@ def main(target): lib_folder = lib_folder.split("/", maxsplit=2) lib_folder = "/".join(lib_folder[:2]) submodules.append(lib_folder) + # The frozen manifest build needs micropython-lib. + if "lib/micropython-lib" not in submodules: + submodules.append("lib/micropython-lib") else: # TODO: Add a way to specify frozen modules in circuitpython.toml pass