File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
doc/connectivity/usb/device_next Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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
8084How to configure and enable USB device support
8185**********************************************
You can’t perform that action at this time.
0 commit comments