X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3n-ek%2Ftemplates%2Fsam3n-ek_kernel%2Fcfg%2Fcfg_usb.h;h=dbfd6fe1f13afc0a70e83e9dfd97f6521971d1a5;hb=3a92077cb4ff6601576aa96805ae99f24baf6447;hp=e5a282b158fbac6b52e083113783e179688a57d1;hpb=61171d95e604185c26236fc9f3cba4ef77312c67;p=bertos.git diff --git a/boards/sam3n-ek/templates/sam3n-ek_kernel/cfg/cfg_usb.h b/boards/sam3n-ek/templates/sam3n-ek_kernel/cfg/cfg_usb.h index e5a282b1..dbfd6fe1 100644 --- a/boards/sam3n-ek/templates/sam3n-ek_kernel/cfg/cfg_usb.h +++ b/boards/sam3n-ek/templates/sam3n-ek_kernel/cfg/cfg_usb.h @@ -61,4 +61,25 @@ */ #define CONFIG_USB_BUFSIZE 64 +/** + * Maximum number of USB device interfaces (default = 1). + * $WIZ$ type = "int" + * $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_EP_MAX 0 + +/** + * Maximum packet size of the control endpoint 0 [bytes]. + * $WIZ$ type = "int" + * $WIZ$ min = 8 + */ +#define CONFIG_EP0_MAX_SIZE 8 + #endif /* CFG_USB_H */