mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
6c1de71606
19358: sys/usbus/cdc/ecm: fix High-Speed mode r=dylad a=gschorcht ### Contribution description This PR provides some changes to fix the USBUS CDC ECM interface in High-Speed mode. In High-Speed mode, the EP data size has to be at least 512 bytes instead of 64 Byte in Full-Speed mode. To be able to define configurations like EP data sizes depending on whether Full-Speed or High-Speed USB device peripherals are used, the feature `periph_usbdev_hs`/`HAD_PERIPH_USBDEV_HS` is introduced. ### Testing procedure Use `tests/usbus_cdc_ecm` and any board with USB HS connector, for example: ``` USEMODULE=periph_usbdev_hs_utmi BOARD=stm32f723e-disco make -j8 -C tests/usbus_cdc_ecm flash ``` `ping` command works with this PR but doesn't work without this PR. ### Issues/PRs references Co-authored-by: Gunar Schorcht <gunar@schorcht.net> |
||
---|---|---|
.. | ||
cdc | ||
msc | ||
control.h | ||
dfu.h | ||
fmt.h | ||
hid_io.h | ||
hid.h | ||
msc.h |