*/
#define USB_KEYBOARD_LOG_FORMAT LOG_FMT_TERSE
+/**
+ * USB vendor ID (please change this in your project, using a valid ID number!).
+ *
+ * $WIZ$ type = "hex"
+ */
+#define USB_KEYBOARD_VENDOR_ID 0x046d
+
+/**
+ * USB product ID (please change this in your project, using a valid ID number!).
+ *
+ * $WIZ$ type = "hex"
+ */
+#define USB_KEYBOARD_PRODUCT_ID 0xffff
+
#endif /* CFG_USB_KEYBOARD_H */
*/
#define USB_MOUSE_LOG_FORMAT LOG_FMT_TERSE
+/**
+ * USB vendor ID (please change this in your project, using a valid ID number!).
+ *
+ * $WIZ$ type = "hex"
+ */
+#define USB_MOUSE_VENDOR_ID 0xffff
+
+/**
+ * USB product ID (please change this in your project, using a valid ID number!).
+ *
+ * $WIZ$ type = "hex"
+ */
+#define USB_MOUSE_PRODUCT_ID 0x0000
+
#endif /* CFG_USBMOUSE_H */
*/
#define USB_SERIAL_LOG_FORMAT LOG_FMT_TERSE
+/**
+ * USB vendor ID (please change this in your project, using a valid ID number!).
+ *
+ * $WIZ$ type = "hex"
+ */
+#define USB_SERIAL_VENDOR_ID 0x05f9
+
+/**
+ * USB product ID (please change this in your project, using a valid ID number!).
+ *
+ * $WIZ$ type = "hex"
+ */
+#define USB_SERIAL_PRODUCT_ID 0xffff
+
#endif /* CFG_USBSER_H */
/*
* HID device configuration (usb-keyboard)
*/
-#define USB_HID_VENDOR_ID 0xffff /* custom */
-#define USB_HID_PRODUCT_ID 0x0000
+#define USB_HID_VENDOR_ID USB_KEYBOARD_VENDOR_ID
+#define USB_HID_PRODUCT_ID USB_KEYBOARD_PRODUCT_ID
#define USB_HID_INTERFACES 1
#define USB_HID_ENDPOINTS 1
/*
* HID device configuration (usb-mouse)
*/
-#define USB_HID_VENDOR_ID 0xffff /* custom */
-#define USB_HID_PRODUCT_ID 0x0000
+#define USB_HID_VENDOR_ID USB_MOUSE_VENDOR_ID
+#define USB_HID_PRODUCT_ID USB_MOUSE_PRODUCT_ID
#define USB_HID_INTERFACES 1
#define USB_HID_ENDPOINTS 1
#include "drv/usbser.h"
-#define USB_SERIAL_VENDOR_ID 0x05f9
-#define USB_SERIAL_PRODUCT_ID 0xffff
+#define USB_SERIAL_VENDOR_ID USB_SERIAL_VENDOR_ID
+#define USB_SERIAL_PRODUCT_ID USB_SERIAL_PRODUCT_ID
#define USB_SERIAL_INTERFACES 1
#define USB_SERIAL_ENDPOINTS 3