summaryrefslogtreecommitdiff
path: root/firmware/src/openpcd.h
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 14:50:05 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 14:50:05 +0000
commita914cae28139ba4c61ba0aba8aeffbee4499358d (patch)
tree3f9521b4e2d6645ac1269c83a70adf511e5ad7b5 /firmware/src/openpcd.h
parentc96e8111bfbd495164d3bc252aa8e1f10f90ac11 (diff)
use officially assigned usb vendor and product id's
git-svn-id: https://svn.openpcd.org:2342/trunk@225 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/openpcd.h')
-rw-r--r--firmware/src/openpcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/src/openpcd.h b/firmware/src/openpcd.h
index 3099373..9ad7288 100644
--- a/firmware/src/openpcd.h
+++ b/firmware/src/openpcd.h
@@ -8,6 +8,7 @@
#define MHz *1000 kHz
#define MCLK (48 MHz)
+#define USB_VENDOR_ID OPENPCD_VENDOR_ID
#ifdef OLIMEX
#define OPENPCD_PIO_LED2 AT91C_PIO_PA17
@@ -21,12 +22,14 @@
#define OPENPCD_PIO_LED1 AT91C_PIO_PA25
#define OPENPCD_PIO_LED2 AT91C_PIO_PA26
#define PIO_BOOTLDR AT91C_PIO_PA27
+#define USB_PRODUCT_ID OPENPCD_PRODUCT_ID
#elif defined(PICC)
#define OPENPCD_PIO_UDP_CNX NO_UDP_CNX
#define OPENPCD_PIO_UDP_PUP AT91C_PIO_PA22
#define OPENPCD_PIO_LED1 AT91C_PIO_PA25
#define OPENPCD_PIO_LED2 AT91C_PIO_PA12
#define PIO_BOOTLDR AT91C_PIO_PA6
+#define USB_PRODUCT_ID OPENPICC_PRODUCT_ID
#else
#error "unknown PCB"
#endif
personal git repositories of Harald Welte. Your mileage may vary