summaryrefslogtreecommitdiff
path: root/firmware/src/openpcd.h
diff options
context:
space:
mode:
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