Skip to content

v1.2.2 — fix USB enumeration on release builds

Choose a tag to compare

@kungaa kungaa released this 26 Jun 14:43
· 53 commits to ds5-linux-bridge since this release

Fixes the broken USB enumeration that affected the downloaded v1.2.0 / v1.2.1 release UF2s.

What was wrong

The release builds were compiled against TinyUSB 0.20.0, which predates the usbd
control-transfer fixes the device's MS OS 2.0 descriptor handling relies on. The result
was the idle (no-controller) USB variant failing to enumerate on Windows — a
"USB Composite Device" with a yellow bang (Code 10). Local builds were unaffected
(they used a newer TinyUSB), so the issue only ever appeared in downloaded firmware.

The fix

CI now pins TinyUSB to the exact verified commit, so the released UF2 matches what is
tested locally. This release also carries the v1.2.1 descriptor change (per-variant
MS OS 2.0 set) and the cold-boot detection fix (#4).

Flashing

Use ds5-bridge-v1.2.2.uf2 for the standard Pico 2 W build.
If Windows still shows a stale bang from a previous flash, unplug, remove the device in
Device Manager, and replug.

Full changelog: v1.2.0...v1.2.2