Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
c045db1f
Commit
c045db1f
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Real USB product ID assignment
Thanks, OpenMoko!
parent
577b9b8c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
firmware/usb_desc.h
+16
-16
16 additions, 16 deletions
firmware/usb_desc.h
with
16 additions
and
16 deletions
firmware/usb_desc.h
+
16
−
16
View file @
c045db1f
...
...
@@ -80,22 +80,22 @@ let me know? http://forum.pjrc.com/forums/4-Suggestions-amp-Bug-Reports
*/
#define USB_FADECANDY
#define VENDOR_ID
0xe461
#define PRODUCT_ID
0x0015
#define DEVICE_CLASS
0xff
// Vendor specific
#define MANUFACTURER_NAME {'s','c','a','n','l','i','m','e'}
#define MANUFACTURER_NAME_LEN 8
#define PRODUCT_NAME {'F','a','d','e','c','a','n','d','y'}
#define PRODUCT_NAME_LEN 9
#define EP0_SIZE 64
#define NUM_ENDPOINTS 1
#define NUM_USB_BUFFERS
75
// Three full frames, plus a little extra!
#define NUM_INTERFACE 1
#define FC_INTERFACE 0
#define FC_OUT_ENDPOINT 1
#define FC_OUT_SIZE 64
#define CONFIG_DESC_SIZE (9+9+7)
#define ENDPOINT1_CONFIG ENDPOINT_RECEIVE_ONLY
#define VENDOR_ID
0x1d50 // OpenMoko
#define PRODUCT_ID
0x607a // Assigned to Fadecandy project
#define DEVICE_CLASS
0xff
// Vendor specific
#define MANUFACTURER_NAME
{'s','c','a','n','l','i','m','e'}
#define MANUFACTURER_NAME_LEN
8
#define PRODUCT_NAME
{'F','a','d','e','c','a','n','d','y'}
#define PRODUCT_NAME_LEN
9
#define EP0_SIZE
64
#define NUM_ENDPOINTS
1
#define NUM_USB_BUFFERS
75
// Three full frames, plus a little extra!
#define NUM_INTERFACE
1
#define FC_INTERFACE
0
#define FC_OUT_ENDPOINT
1
#define FC_OUT_SIZE
64
#define CONFIG_DESC_SIZE
(9+9+7)
#define ENDPOINT1_CONFIG
ENDPOINT_RECEIVE_ONLY
// NUM_ENDPOINTS = number of non-zero endpoints (0 to 15)
extern
const
uint8_t
usb_endpoint_config_table
[
NUM_ENDPOINTS
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment