usbd_conf.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * This file is part of the MicroPython project, http://micropython.org/
  3. */
  4. /**
  5. ******************************************************************************
  6. * @file USB_Device/CDC_Standalone/Inc/usbd_conf.h
  7. * @author MCD Application Team
  8. * @version V1.0.1
  9. * @date 26-February-2014
  10. * @brief General low level driver configuration
  11. ******************************************************************************
  12. * @attention
  13. *
  14. * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
  15. *
  16. * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
  17. * You may not use this file except in compliance with the License.
  18. * You may obtain a copy of the License at:
  19. *
  20. * http://www.st.com/software_license_agreement_liberty_v2
  21. *
  22. * Unless required by applicable law or agreed to in writing, software
  23. * distributed under the License is distributed on an "AS IS" BASIS,
  24. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  25. * See the License for the specific language governing permissions and
  26. * limitations under the License.
  27. *
  28. ******************************************************************************
  29. */
  30. #ifndef MICROPY_INCLUDED_STM32_USBD_CONF_H
  31. #define MICROPY_INCLUDED_STM32_USBD_CONF_H
  32. #include <stdint.h>
  33. #include <stdio.h>
  34. #include <stdlib.h>
  35. #include <string.h>
  36. #define USBD_MAX_NUM_INTERFACES 4
  37. #define USBD_MAX_NUM_CONFIGURATION 1
  38. #define USBD_MAX_STR_DESC_SIZ 0x100
  39. #define USBD_SELF_POWERED 0
  40. #define USBD_DEBUG_LEVEL 0
  41. #endif // MICROPY_INCLUDED_STM32_USBD_CONF_H
  42. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/