Fix: no COM port on Windows (USB descriptor)
Reported by Dbug on the defence-force forum (p34901): after flashing, no COM port appeared on Windows (LOCI showed "CDC modem mounted", and Linux worked fine).
Cause. The USB configuration descriptor advertised two CDC functions (4 interfaces) while the stack was built with a single CDC (CFG_TUD_CDC=1). So wTotalLength (75 bytes) only covered the first CDC, while bNumInterfaces claimed 4 — an inconsistent descriptor. Windows rejects it (no COM port); Linux tolerates it. The second CDC was non-functional anyway. This bug was present from v0.2.0 through v0.3.2.
Fix. The device is now a single, standard AT-command CDC modem (2 interfaces), so wTotalLength matches bNumInterfaces. Equivalent to the one-byte patch (bNumInterfaces 0x04→0x02) Dbug found. A host-side regression test now guards this invariant.
Downloads
wifi_modem-v0.3.3.uf2— flash this (hold BOOTSEL, plug USB, drop ontoRPI-RP2).ATIreportsPico WiFi modem v0.3.3.PicoWiFiModemUSB-v0.3.3.zip— full bundle: firmware +wificonf.bas+ optional CA image + EN/FR manuals +README.txt(flashing for Windows/Linux/macOS).PicoWiFiModemUSB-v0.3.3.sha256— checksums.
No CC65 build required — everything is pre-built.