Merge pull request #93 from zyp/master
[fw/stlink] / example / stm32f4 / STM32_USB_Device_Library / Core / inc / usbd_conf_template.h
1 /**
2   ******************************************************************************
3   * @file    usbd_conf_template.h
4   * @author  MCD Application Team
5   * @version V1.0.0
6   * @date    22-July-2011
7   * @brief   usb device configuration template file
8   ******************************************************************************
9   * @attention
10   *
11   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
12   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
13   * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
14   * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
15   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
16   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
17   *
18   * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
19   ******************************************************************************
20   */
21
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef __USBD_CONF__H__
24 #define __USBD_CONF__H__
25
26 /* Includes ------------------------------------------------------------------*/
27 #include "stm32f2xx.h"
28
29
30
31 /** @defgroup USB_CONF_Exported_Defines
32   * @{
33   */ 
34 #define USE_USB_OTG_HS  
35
36 #define USBD_CFG_MAX_NUM           1
37 #define USB_MAX_STR_DESC_SIZ       64 
38 #define USBD_EP0_MAX_PACKET_SIZE   64
39
40 /**
41   * @}
42   */ 
43
44
45 /** @defgroup USB_CONF_Exported_Types
46   * @{
47   */ 
48 /**
49   * @}
50   */ 
51
52
53 /** @defgroup USB_CONF_Exported_Macros
54   * @{
55   */ 
56 /**
57   * @}
58   */ 
59
60 /** @defgroup USB_CONF_Exported_Variables
61   * @{
62   */ 
63 /**
64   * @}
65   */ 
66
67 /** @defgroup USB_CONF_Exported_FunctionsPrototype
68   * @{
69   */ 
70 /**
71   * @}
72   */ 
73
74
75 #endif //__USBD_CONF__H__
76
77 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
78