Skip to content

Commit

Permalink
usb_desc for win10
Browse files Browse the repository at this point in the history
  • Loading branch information
GCY committed Mar 6, 2021
1 parent bef729a commit 93d88b0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file modified MAX3010x/.DS_Store
Binary file not shown.
Binary file modified MAX3010x/src/.DS_Store
Binary file not shown.
Binary file modified MAX3010x/src/stm32f4 project max3010x/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
#include "usb_regs.h"

#define USBD_VID 0x0483
#define USBD_PID 0x5740 // Install STSW-STM32102 for windows10
//#define USBD_PID 0x5710 // MAC
#define USBD_PID 0x5740

/** @defgroup USB_String_Descriptors
* @{
Expand Down Expand Up @@ -74,8 +73,8 @@ __ALIGN_BEGIN uint8_t USBD_DeviceDesc[USB_SIZ_DEVICE_DESC] __ALIGN_END =
USB_DEVICE_DESCRIPTOR_TYPE, /*bDescriptorType*/
0x00, /*bcdUSB */
0x02,
0x00, /*bDeviceClass*/
0x00, /*bDeviceSubClass*/
0x02, /*bDeviceClass*/
0x02, /*bDeviceSubClass*/
0x00, /*bDeviceProtocol*/
USB_OTG_MAX_EP0_SIZE, /*bMaxPacketSize*/
LOBYTE(USBD_VID), /*idVendor*/
Expand Down

0 comments on commit 93d88b0

Please sign in to comment.