Skip to content

Commit

Permalink
doc: usb_device.rst: add PID for DFU in DFU mode
Browse files Browse the repository at this point in the history
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 <diegoherranz@diegoherranz.com>
  • Loading branch information
diegoherranz authored and fabiobaltieri committed Feb 8, 2024
1 parent 2207fed commit 7551b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/connectivity/usb/device/usb_device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
+----------------------------------------------------+--------+
Expand All @@ -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.

0 comments on commit 7551b85

Please sign in to comment.