X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_usb.h;h=d1c724c9f843365f8bdb210342b417b4a52de8d1;hb=448b0d5418ea97af845eb2d9cc3345e3ff7dd67b;hp=940d76183b8205b79ca219cb3b8340b837ffbbdd;hpb=b2cbb10564ee5c9c2a78519973bef71e4db364f9;p=bertos.git diff --git a/bertos/cfg/cfg_usb.h b/bertos/cfg/cfg_usb.h index 940d7618..d1c724c9 100644 --- a/bertos/cfg/cfg_usb.h +++ b/bertos/cfg/cfg_usb.h @@ -55,17 +55,24 @@ #define USB_LOG_FORMAT LOG_FMT_TERSE /** - * Size of the USB outbound buffer [bytes]. + * Size of the USB buffer used for endpoint transfers [bytes]. * $WIZ$ type = "int" * $WIZ$ min = 2 */ -#define CONFIG_USB_TXBUFSIZE 64 +#define CONFIG_USB_BUFSIZE 64 /** - * Size of the USB inbound buffer [bytes]. + * Maximum number of USB device interfaces (default = 1). * $WIZ$ type = "int" - * $WIZ$ min = 2 + * $WIZ$ min = 1 + */ +#define CONFIG_USB_INTERFACE_MAX 1 + +/** + * Maximum number of allocated endpoints (0 = auto). + * $WIZ$ type = "int" + * $WIZ$ min = 0 */ -#define CONFIG_USB_RXBUFSIZE 64 +#define CONFIG_USB_EP_MAX 0 #endif /* CFG_USB_H */