Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/vcp_hal/usbd_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@

/* Includes ------------------------------------------------------------------*/
#include "stm32f7xx_hal.h"
#if (USBD_DEBUG_LEVEL > 0)
#include <stdio.h>
#endif
#include <stdlib.h>
#include <string.h>

/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Common Config */
#define USBD_MAX_NUM_INTERFACES 1
#define USBD_MAX_NUM_INTERFACES 0
#define USBD_MAX_NUM_CONFIGURATION 1
#define USBD_MAX_STR_DESC_SIZ 0x100
#define USBD_SUPPORT_USER_STRING 0
Expand Down
3 changes: 1 addition & 2 deletions src/main/vcp_hal/usbd_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ __ALIGN_BEGIN uint8_t USBD_DeviceDesc[USB_LEN_DEV_DESC] __ALIGN_END = {
USB_DESC_TYPE_DEVICE, /* bDescriptorType */
0x00, /* bcdUSB */
0x02,
0x00, /* bDeviceClass */
0x02, /* bDeviceClass */
0x00, /* bDeviceSubClass */
0x00, /* bDeviceProtocol */
USB_MAX_EP0_SIZE, /* bMaxPacketSize */
Expand Down Expand Up @@ -303,4 +303,3 @@ static void IntToUnicode (uint32_t value , uint8_t *pbuf , uint8_t len)
}
}
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/