This fork re-enables FRDM boards and adds WebUSB CDC functionality

Fork of USBDevice_STM32F103 by Devan Lai

USBDFU/WinUSB.h

Committer:
devanlai
Date:
2016-09-04
Revision:
68:c190028858f9

File content as of revision 68:c190028858f9:

/*
* Copyright 2016 Devan Lai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef WIN_USB_H
#define WIN_USB_H
/* Microsoft OS 1.0 descriptors */

/* Extended Compat ID OS Feature Descriptor Specification */
#define WINUSB_GET_COMPATIBLE_ID_FEATURE_DESCRIPTOR 0x04
#define WINUSB_GET_EXTENDED_PROPERTIES_OS_FEATURE_DESCRIPTOR 0x05

#define WINUSB_VENDOR_CODE 0x21

#define COMPATIBLE_ID_VERSION_1_0 (0x0100)

#endif