USB: define the new options CONFIG_USB_EP_MAX and CONFIG_USB_INTERFACE_MAX in the...
[bertos.git] / boards / stm32-p103 / examples / usbkeyboard / cfg / cfg_usb.h
index e5a282b158fbac6b52e083113783e179688a57d1..d1c724c9f843365f8bdb210342b417b4a52de8d1 100644 (file)
  */
 #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
+
 #endif /* CFG_USB_H */