Skip to content

Firmware page: read the set's pins, point at omnipython-builds, say mcuctl - #254

Merged
bdbarnett merged 1 commit into
firmware-page-stagedfrom
arthur-fw-pins-schema
Nov 18, 2026
Merged

bdbarnett merged 1 commit into
firmware-page-stagedfrom
arthur-fw-pins-schema

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The page's board list never loads for a set built from today's omnipython-builds. renderPins read pins.UPSTREAM, pins['deps.lock'] and pins['modules.lock']; firmware.json now has one entry per pin ({commit, tag} or {version}), so the page stops with "Cannot convert undefined or null to object" and shows no boards. It now lists each pin with its tag or the first 12 characters of its commit.

Three more things named the old repository or tool. The verify line (gh attestation verify ... --repo PyDevices/micropython-pydevices) fails for these files, which are attested by PyDevices/omnipython-builds; the ELF, map and app-image links pointed at a Release that isn't there; and the install-from-a-file text said mpftp, which is mcuctl now. All three come from one constant, REPO, and a few strings.

I staged the set built by omnipython-builds run 44233554945 (16 builds, 75 files) into a local copy of this branch, served it, and loaded every board with Playwright: no console errors, every served image matches its firmware.json sha256, every Release link names a file in the set. The verify command passes with the new repo and fails with the old one. Not covered: the ESP Web Tools Install button (needs a person at Chrome); the GIGA page still leaves its ROMFS image out of the steps.

…cuctl

The page threw on a set built after the pins moved to DEPENDENCIES.lock
(firmware.json has one entry per pin, not UPSTREAM, deps.lock and modules.lock),
so the board list never loaded. The verify line, the ELF and map links and the
flash guide still named micropython-pydevices; the files are attested by, and
the Release lives in, PyDevices/omnipython-builds. The terminal install text
said mpftp, which is mcuctl now.
@bdbarnett
bdbarnett marked this pull request as ready for review November 18, 2026 04:32
@bdbarnett
bdbarnett merged commit 81b881b into firmware-page-staged Nov 18, 2026
1 check passed
@bdbarnett
bdbarnett deleted the arthur-fw-pins-schema branch November 18, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant