Files
ZephCore/zephcore
liquidraver f06c472e87 usb: unify companion + repeater CDC ACM init, drop boot waits
Single ZephyrUSBCDC module owns the usbd context, 1200-baud DFU
detection, and DTR transitions for both roles. The boot banner
now blocks on a k_event signalled by the usbd_msg_callback when
DTR transitions high — host attached → wakes immediately; no host
→ bounded timeout (2 s repeater, 1 s companion). Replaces the
fixed k_sleep delays in both mains.

Deletes the companion's 10 s DTR-polling work — line state changes
arrive as events now, same callback handles disconnect (resets V3
parser, flips active_iface) and DFU touch (reboots to bootloader).

Side effect: prod companion no longer enumerates a phantom CDC ACM
port (CONFIG_LOG=n skips the whole stack instead of auto-initing
an unused device).
2026-05-27 09:04:32 +02:00
..
2026-05-24 21:07:38 +02:00
2026-05-24 21:07:38 +02:00
2026-05-22 14:42:12 +02:00
2026-02-22 13:09:18 +01:00
2026-05-24 20:06:49 +02:00
2026-03-19 10:44:33 +01:00
2026-05-20 22:53:02 +02:00
2026-05-24 20:06:49 +02:00
2026-05-24 20:06:49 +02:00
2026-02-20 12:43:13 +01:00
2026-05-24 21:07:38 +02:00
2026-02-22 13:09:18 +01:00