Skip to content

Commit

Permalink
usbus/cdc/ecm: increase EP data size in HS mode
Browse files Browse the repository at this point in the history
CDC ECM driver/netdev is only working in High-Speed mode if the EP data size is at least 512 byte.
  • Loading branch information
gschorcht committed Mar 7, 2023
1 parent 4845ed0 commit 4f49fc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sys/include/usb/usbus/cdc/ecm.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ extern "C" {
*
* Used for the transfer of network frames.
*/
#ifndef MODULE_PERIPH_USBDEV_HS
#define USBUS_CDCECM_EP_DATA_SIZE 64
#else
#define USBUS_CDCECM_EP_DATA_SIZE 512
#endif

/**
* @brief notification state, used to track which information must be send to
Expand Down

0 comments on commit 4f49fc8

Please sign in to comment.