Skip to content

Commit

Permalink
Add USBD descriptor string for RedBear Duo
Browse files Browse the repository at this point in the history
  • Loading branch information
guohui committed Oct 9, 2015
1 parent 1a24634 commit 1bf39ce
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions hal/src/duo/usbd_desc_device.h
Expand Up @@ -33,21 +33,13 @@
/* USB Device String Definitions ---------------------------------------------*/

#define USBD_LANGID_STRING 0x0409 //U.S. English
#define USBD_MANUFACTURER_STRING "Particle"
#define USBD_MANUFACTURER_STRING "RedBear"

#if PLATFORM_ID==PLATFORM_P1
#define USBD_PRODUCT_HS_STRING "P1 with WiFi"
#define USBD_PRODUCT_HS_STRING "Duo with WiFi and BLE"
#define USBD_SERIALNUMBER_HS_STRING "00000000050B"

#define USBD_PRODUCT_FS_STRING "P1 with WiFi"
#define USBD_PRODUCT_FS_STRING "Duo with WiFi and BLE"
#define USBD_SERIALNUMBER_FS_STRING "00000000050C"
#else
#define USBD_PRODUCT_HS_STRING "Photon with WiFi"
#define USBD_SERIALNUMBER_HS_STRING "00000000050B"

#define USBD_PRODUCT_FS_STRING "Photon with WiFi"
#define USBD_SERIALNUMBER_FS_STRING "00000000050C"
#endif

#define USBD_CONFIGURATION_HS_STRING "VCP Config"
#define USBD_INTERFACE_HS_STRING "VCP Interface"
Expand Down

0 comments on commit 1bf39ce

Please sign in to comment.