You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build_mp.py can't fetch MicroPython when the pin is a commit SHA #114
(build_mp.py line 178). --branch takes a branch or tag name, not a commit, so when UPSTREAM pins a commit SHA (as it does when the pin is on MicroPython's main between releases) the clone fails and a fresh checkout can't build.
To fix: when UPSTREAM is a 40-character SHA, clone without --branch (or git init + git fetch --depth 1 origin <sha> + git checkout FETCH_HEAD, which GitHub serves for a full SHA), and keep --branch for tags.
Activity
bdbarnett commentedon Oct 19, 2026
Fixed in d34933a (merged in #115): build_mp.py now fetches MicroPython with clone_at(), which takes a full 40-character commit as well as a tag.