diff options
| author | 54fire <[email protected]> | 2026-08-17 14:48:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-17 14:48:32 +0800 |
| commit | 60911ffd9ed6aaacf768dfd557508d0b40170664 (patch) | |
| tree | 7e38cdec71f07b3afc42d206585ba4809d522516 /docs/en/usb/img/25.png | |
| parent | 1bfc83ad46301553c8b626446417273b18abca6e (diff) | |
* 添加usb device ncm功能
* fix(class/cdc/usbd_ncm): address review findings
- fix compile failure when CONFIG_USBDEV_CDC_NCM_USING_LWIP is disabled
- fix GET/SET_NTB_INPUT_SIZE operating on the OUT direction size, and
honor the negotiated IN limit in the transmit path
- set tx busy flag before submitting the transfer to avoid a race that
could block transmit permanently
- follow the ndp chain via wNextNdpIndex so chained datagrams are not
dropped, and access ntb fields with LE helpers instead of assuming a
little-endian target
- reject oversized frames instead of transmitting truncated ones
- register endpoints only once when initializing both interfaces
- wait for tx completion with a timeout in the demo instead of an
unbounded busy wait
- make usbd_cdc_ncm.h self-contained
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
Diffstat (limited to 'docs/en/usb/img/25.png')
0 files changed, 0 insertions, 0 deletions
