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
rp2040 and rp2450(w) board names should be in fbuild - not local resolution!!! #3836
I audited every USB VID:PID literal in the ci/ tree against the live FastLED/boards artifact (usb-vids.proto.zstd, 36 vendors / 1056 products). 14 of 15 already resolve upstream — including all four RP2xxx identities this issue names:
VID:PID
Identity
Registry
2E8A:000A
rp2040 / rpipico application CDC
resolved
2E8A:F00A
rpipicow application CDC
resolved
2E8A:000F
rp2350 / rpipico2 application CDC
resolved
2E8A:F00F
rp2350w / rpipico2w application CDC
resolved
2E8A:0003
RP2 ROM BOOTSEL
resolved
So the data side of "should be in fbuild - not local resolution" is already done upstream. ENVIRONMENT_TO_VCOM_VID_PIDS is not filling a registry gap for RP — it is shadowing published data.
#3965 documents the rule (agents/docs/usb-vid-pid-registry.md), freezes both legacy tables, adds ci/util/audit_usb_registry.py so this stays verifiable, and cascades the pin to fbuild 2.5.19 — which selects the exact runtime RP board profile from the verified registry rather than a local guess (FastLED/fbuild#1335).
What remains for this issue is the code change #3965 deliberately does not make: _resolve_port_and_environment (ci/autoresearch/phases.py:1320) still only skips local port detection for RP when --rpc-smoke or --watchdog-soak is set, so driver mode (e.g. --parlio) still calls auto_detect_upload_port. The RED test asserting the correct behavior already exists on branch fix/3836-fbuild-rp-port-resolution (test_rp2xxx_driver_mode_delegates_port_selection_to_fbuild) and fails for all four RP environments.
One unrelated gap the audit turned up: FTDI FT232H 0403:6014 is absent registry-wide — FastLED/boards#60.
Closing — all four asks in this issue are now satisfied on master.
1. USB IDs come from fbuild, not FastLED. Per the #3965 audit, all four RP2xxx identities plus ROM BOOTSEL resolve from the published FastLED/boards registry:
VID:PID
Identity
2E8A:000A
rp2040 / rpipico application CDC
2E8A:F00A
rpipicow application CDC
2E8A:000F
rp2350 / rpipico2 application CDC
2E8A:F00F
rp2350w / rpipico2w application CDC
2E8A:0003
RP2 ROM BOOTSEL
2. The legacy local tables are gone.ENVIRONMENT_TO_VCOM_VID_PIDS was retired in #4070; ci/tests/test_autoresearch_phases.py asserts the symbol no longer exists, so it cannot quietly return.
3. Agent docs record the rule.agents/docs/usb-vid-pid-registry.md documents the pipeline end to end — FastLED/boards → usb-vids.proto.zstd → fbuild ingestion (crates/fbuild-core/src/usb/data.rs) → FastLED via the fbuild==X.Y.Z pin — including the cascade procedure when an identity is missing.
4. The follow-up you asked for is merged.#4162 landed test_rp2xxx_driver_mode_delegates_port_selection_to_fbuild, parametrized over all seven RP2XXX_ENVIRONMENTS. It pins that driver-mode runs leave upload_port unset and never call auto_detect_upload_port.
That test was the one real gap left. defer_port_selection_to_fbuild = bool(ctx.final_environment) (ci/autoresearch/phases.py:1336) had already fixed the behavior, but the regression test named in this issue lived on fix/3836-fbuild-rp-port-resolution, which no longer exists on the remote — so nothing prevented the local-scan path from coming back. Verified RED→GREEN: stubbing the flag to False fails all seven environments; restoring it passes all seven.
Confirmed live on hardware this session: an RP2350 deploy returned FBUILD_DEPLOY_PORT=/dev/ttyACM1 with no local port detection, and the full RPC smoke passed.
Reopen if a board name still resolves locally anywhere.
Activity
zackees commentedon Aug 22, 2026
Groundwork for this issue: #3965.
I audited every USB VID:PID literal in the
ci/tree against the live FastLED/boards artifact (usb-vids.proto.zstd, 36 vendors / 1056 products). 14 of 15 already resolve upstream — including all four RP2xxx identities this issue names:2E8A:000A2E8A:F00A2E8A:000F2E8A:F00F2E8A:0003So the data side of "should be in fbuild - not local resolution" is already done upstream.
ENVIRONMENT_TO_VCOM_VID_PIDSis not filling a registry gap for RP — it is shadowing published data.#3965 documents the rule (
agents/docs/usb-vid-pid-registry.md), freezes both legacy tables, addsci/util/audit_usb_registry.pyso this stays verifiable, and cascades the pin to fbuild 2.5.19 — which selects the exact runtime RP board profile from the verified registry rather than a local guess (FastLED/fbuild#1335).What remains for this issue is the code change #3965 deliberately does not make:
_resolve_port_and_environment(ci/autoresearch/phases.py:1320) still only skips local port detection for RP when--rpc-smokeor--watchdog-soakis set, so driver mode (e.g.--parlio) still callsauto_detect_upload_port. The RED test asserting the correct behavior already exists on branchfix/3836-fbuild-rp-port-resolution(test_rp2xxx_driver_mode_delegates_port_selection_to_fbuild) and fails for all four RP environments.One unrelated gap the audit turned up: FTDI FT232H
0403:6014is absent registry-wide — FastLED/boards#60.docs(usb): make FastLED/boards the documented VID/PID source of truth
test(ci): lock RP port selection to fbuild in driver mode (#3836) (#4162
zackees commentedon Sep 7, 2026
Closing — all four asks in this issue are now satisfied on
master.1. USB IDs come from fbuild, not FastLED. Per the #3965 audit, all four RP2xxx identities plus ROM BOOTSEL resolve from the published FastLED/boards registry:
2E8A:000A2E8A:F00A2E8A:000F2E8A:F00F2E8A:00032. The legacy local tables are gone.
ENVIRONMENT_TO_VCOM_VID_PIDSwas retired in #4070;ci/tests/test_autoresearch_phases.pyasserts the symbol no longer exists, so it cannot quietly return.3. Agent docs record the rule.
agents/docs/usb-vid-pid-registry.mddocuments the pipeline end to end — FastLED/boards →usb-vids.proto.zstd→ fbuild ingestion (crates/fbuild-core/src/usb/data.rs) → FastLED via thefbuild==X.Y.Zpin — including the cascade procedure when an identity is missing.4. The follow-up you asked for is merged. #4162 landed
test_rp2xxx_driver_mode_delegates_port_selection_to_fbuild, parametrized over all sevenRP2XXX_ENVIRONMENTS. It pins that driver-mode runs leaveupload_portunset and never callauto_detect_upload_port.That test was the one real gap left.
defer_port_selection_to_fbuild = bool(ctx.final_environment)(ci/autoresearch/phases.py:1336) had already fixed the behavior, but the regression test named in this issue lived onfix/3836-fbuild-rp-port-resolution, which no longer exists on the remote — so nothing prevented the local-scan path from coming back. Verified RED→GREEN: stubbing the flag toFalsefails all seven environments; restoring it passes all seven.Confirmed live on hardware this session: an RP2350 deploy returned
FBUILD_DEPLOY_PORT=/dev/ttyACM1with no local port detection, and the full RPC smoke passed.Reopen if a board name still resolves locally anywhere.