summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondavx767.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ondavx767.h')
-rw-r--r--firmware/export/config-ondavx767.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/export/config-ondavx767.h b/firmware/export/config-ondavx767.h
index 7216ef0d35..cb44de9e6e 100644
--- a/firmware/export/config-ondavx767.h
+++ b/firmware/export/config-ondavx767.h
@@ -156,7 +156,12 @@
#define CONFIG_USBOTG USBOTG_JZ4740
#define HAVE_USBSTACK
-#define USB_VENDOR_ID 0x041e
-#define USB_PRODUCT_ID 0x4133
+#define USB_VENDOR_ID 0x07C4
+#define USB_PRODUCT_ID 0xA4A5
+#define USB_NUM_ENDPOINTS 3
+/* This needs to be 2048 byte aligned, but USB_QHARRAY_ATTR should take care
+ * of that */
+#define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(4)))
+#define USB_DEVBSS_ATTR IBSS_ATTR
#endif