1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00
RIOT/drivers
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-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2022-03-04 14:15:35 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2023-02-27 12:31:04 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2022-10-04 00:28:46 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2023-01-31 21:05:07 +01:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2022-03-04 14:15:47 +01:00
2023-02-16 15:02:19 +00:00
2022-09-16 14:00:35 +02:00
2022-12-15 10:15:31 +00:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-02-21 16:53:06 +00:00
2022-03-04 14:15:50 +01:00
2023-02-23 16:44:24 +01:00
2023-02-27 12:31:04 +01:00
2022-09-14 15:05:25 +02:00
2022-09-26 18:54:40 +02:00
2022-09-16 14:00:35 +02:00
2023-01-10 15:44:57 +00:00
2022-03-04 14:15:57 +01:00
2022-03-04 14:15:58 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-02-01 21:57:23 +01:00