1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 02:23:49 +01:00
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
..
2022-09-16 14:00:35 +02:00
2023-02-13 21:09:07 +00:00
2022-11-10 23:44:50 +01:00
2022-03-11 09:24:12 +01:00
2023-01-07 09:47:44 +01:00
2022-01-13 17:50:59 +01:00
2022-09-23 16:42:52 +02:00
2023-02-17 20:09:53 +00:00
2022-09-29 22:01:37 +02:00
2023-03-07 20:17:01 +00:00
2022-09-26 19:06:46 +02:00
2023-02-27 12:31:03 +01:00
2022-03-11 09:20:24 +01:00
2023-02-27 12:31:03 +01:00
2022-12-05 16:13:21 +01:00
2023-02-23 16:44:24 +01:00
2023-02-28 16:55:56 +00:00
2023-03-02 22:04:08 +01:00