USB: allow to configure the maximum packet size of EP0
[bertos.git] / boards / stm32-p103 / examples / usbkeyboard / cfg / cfg_usb.h
index d1c724c9f843365f8bdb210342b417b4a52de8d1..dbfd6fe1f13afc0a70e83e9dfd97f6521971d1a5 100644 (file)
  */
 #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 */