Skip to content

Commit 26f5806

Browse files
author
Rudi Horn
committed
initial commit of new cdc_msc and updated msc
1 parent f190402 commit 26f5806

File tree

10 files changed

+2964
-0
lines changed

10 files changed

+2964
-0
lines changed

cores/arduino/stm32/usb/cdc_msc/usbd_cdc_msc.cpp

+508
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/**
2+
******************************************************************************
3+
* @file usbd_cdc_msc_core.h
4+
* @author MCD Application Team
5+
* @version V1.2.1
6+
* @date 17-March-2018
7+
* @brief header file for the usbd_cdc_msc_core.c file.
8+
******************************************************************************
9+
* @attention
10+
*
11+
* <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
12+
* All rights reserved.</center></h2>
13+
*
14+
* This software component is licensed by ST under Ultimate Liberty license
15+
* SLA0044, the "License"; You may not use this file except in compliance with
16+
* the License. You may obtain a copy of the License at:
17+
* <http://www.st.com/SLA0044>
18+
*
19+
******************************************************************************
20+
*/
21+
22+
/* Includes ------------------------------------------------------------------*/
23+
24+
#ifndef __USB_CDC_MSC_CORE_H_
25+
#define __USB_CDC_MSC_CORE_H_
26+
27+
#include "../cdc/usbd_cdc.h"
28+
#include "usbd_msc.h"
29+
#include "usbd_ioreq.h"
30+
31+
#define CDC_ACM_INTERFACE 0x0
32+
#define CDC_COM_INTERFACE 0x1
33+
#define MSC_INTERFACE 0x2
34+
35+
#define USB_CDC_MSC_CONFIG_DESC_SIZ (USB_CDC_CONFIG_DESC_SIZ - 9 + USB_MSC_CONFIG_DESC_SIZ)
36+
37+
#endif /* __USB_CDC_MSC_CORE_H_ */
38+
39+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)