1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/usb/usbus
bors[bot] 6c1de71606
Merge #19358
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>
2023-03-07 20:17:01 +00:00
..
cdc Merge #19358 2023-03-07 20:17:01 +00:00
msc usbus/msc: add initial support for Mass Storage Class 2023-03-01 21:50:13 +01:00
control.h USBUS: Adapt to xmit API 2021-11-16 20:17:04 +01:00
dfu.h usbus/dfu: introduce initial Device Firmware Upgrade support for USBUS 2021-01-12 11:34:22 +01:00
fmt.h usbus: Unify terminology to use 'descriptor' everywhere 2019-11-12 10:29:19 +01:00
hid_io.h usbus/hid: uncrustify files 2021-08-04 14:54:33 +02:00
hid.h usbus/hid: Remove unimplemented function declaration 2022-01-05 21:46:15 +01:00
msc.h usbus/msc: add initial support for Mass Storage Class 2023-03-01 21:50:13 +01:00