Skip to content

Commit 0e5407f

Browse files
committed
usb: device_next: Simple NCM driver for usb-next
Documentation changes. Signed-off-by: Hardy Griech <[email protected]>
1 parent 6d39c05 commit 0e5407f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/connectivity/usb/device_next/usb_device.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ instance (`n`) and is used as an argument to the :c:func:`usbd_register_class`.
4141
+-----------------------------------+-------------------------+-------------------------+
4242
| USB CDC ECM class | Ethernet device | :samp:`cdc_ecm_{n}` |
4343
+-----------------------------------+-------------------------+-------------------------+
44+
| USB CDC NCM class | Ethernet device | :samp:`cdc_ncm_{n}` |
45+
+-----------------------------------+-------------------------+-------------------------+
4446
| USB Mass Storage Class (MSC) | :ref:`usbd_msc_device` | :samp:`msc_{n}` |
4547
+-----------------------------------+-------------------------+-------------------------+
4648
| USB Human Interface Devices (HID) | :ref:`usbd_hid_device` | :samp:`hid_{n}` |
@@ -74,8 +76,10 @@ configuration ``-DCONF_FILE=usbd_next_prj.conf`` either directly or via
7476

7577
* :zephyr:code-sample:`zperf` To build the sample for the new device support,
7678
set the configuration overlay file
77-
``-DDEXTRA_CONF_FILE=overlay-usbd_next_ecm.conf`` and devicetree overlay file
79+
``-DDEXTRA_CONF_FILE=overlay-usbd_next.conf`` and devicetree overlay file
7880
``-DDTC_OVERLAY_FILE="usbd_next_ecm.overlay`` either directly or via ``west``.
81+
To build with NCM, set the configuration overlay file as above and the devicetree
82+
overlay file to ``-DDTC_OVERLAY_FILE="usbd_next_ncm.overlay``.
7983

8084
How to configure and enable USB device support
8185
**********************************************

0 commit comments

Comments
 (0)