From 7551b85f2287d2ae19f9b058688721ac2f04367c Mon Sep 17 00:00:00 2001 From: Diego Herranz Date: Tue, 6 Feb 2024 10:20:33 +0100 Subject: [PATCH] doc: usb_device.rst: add PID for DFU in DFU mode By default, the DFU sample uses 0x0005 as PID in the Run-Time descriptors, and when detached to the "proper" DFU mode, it uses 0xFFFF (one of the values suggested by the DFU 1.1 spec). So, 0xFFFF added to the table as well as indications of Run-Time and DFU mode on both DFU entries. Signed-off-by: Diego Herranz --- doc/connectivity/usb/device/usb_device.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/connectivity/usb/device/usb_device.rst b/doc/connectivity/usb/device/usb_device.rst index bf446ae7524c..20102535bc35 100644 --- a/doc/connectivity/usb/device/usb_device.rst +++ b/doc/connectivity/usb/device/usb_device.rst @@ -519,7 +519,7 @@ The following Product IDs are currently used: +----------------------------------------------------+--------+ | :zephyr:code-sample:`usb-cdc-acm-console` | 0x0004 | +----------------------------------------------------+--------+ -| :zephyr:code-sample:`usb-dfu` | 0x0005 | +| :zephyr:code-sample:`usb-dfu` (Run-Time) | 0x0005 | +----------------------------------------------------+--------+ | :zephyr:code-sample:`usb-hid` | 0x0006 | +----------------------------------------------------+--------+ @@ -539,6 +539,8 @@ The following Product IDs are currently used: +----------------------------------------------------+--------+ | :zephyr:code-sample:`uac2-explicit-feedback` | 0x000E | +----------------------------------------------------+--------+ +| :zephyr:code-sample:`usb-dfu` (DFU Mode) | 0xFFFF | ++----------------------------------------------------+--------+ The USB device descriptor field ``bcdDevice`` (Device Release Number) represents the Zephyr kernel major and minor versions as a binary coded decimal value.