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

Fork of USBDevice_STM32F103 by Devan Lai

Committer:
Lars Knudsen
Date:
Tue Jul 11 21:02:39 2017 +0200
Revision:
72:1d8a6665d607
Parent:
68:c190028858f9
Adding MS OS 2.0 support

Who changed what in which revision?

UserRevisionLine numberNew contents of line
devanlai 68:c190028858f9 1 /*
devanlai 68:c190028858f9 2 * Copyright 2016 Devan Lai
devanlai 68:c190028858f9 3 *
devanlai 68:c190028858f9 4 * Licensed under the Apache License, Version 2.0 (the "License");
devanlai 68:c190028858f9 5 * you may not use this file except in compliance with the License.
devanlai 68:c190028858f9 6 * You may obtain a copy of the License at
devanlai 68:c190028858f9 7 *
devanlai 68:c190028858f9 8 * http://www.apache.org/licenses/LICENSE-2.0
devanlai 68:c190028858f9 9 *
devanlai 68:c190028858f9 10 * Unless required by applicable law or agreed to in writing, software
devanlai 68:c190028858f9 11 * distributed under the License is distributed on an "AS IS" BASIS,
devanlai 68:c190028858f9 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
devanlai 68:c190028858f9 13 * See the License for the specific language governing permissions and
devanlai 68:c190028858f9 14 * limitations under the License.
devanlai 68:c190028858f9 15 */
devanlai 68:c190028858f9 16
devanlai 68:c190028858f9 17 #ifndef WIN_USB_H
devanlai 68:c190028858f9 18 #define WIN_USB_H
devanlai 68:c190028858f9 19 /* Microsoft OS 1.0 descriptors */
devanlai 68:c190028858f9 20
devanlai 68:c190028858f9 21 /* Extended Compat ID OS Feature Descriptor Specification */
devanlai 68:c190028858f9 22 #define WINUSB_GET_COMPATIBLE_ID_FEATURE_DESCRIPTOR 0x04
devanlai 68:c190028858f9 23 #define WINUSB_GET_EXTENDED_PROPERTIES_OS_FEATURE_DESCRIPTOR 0x05
devanlai 68:c190028858f9 24
devanlai 68:c190028858f9 25 #define WINUSB_VENDOR_CODE 0x21
devanlai 68:c190028858f9 26
devanlai 68:c190028858f9 27 #define COMPATIBLE_ID_VERSION_1_0 (0x0100)
devanlai 68:c190028858f9 28
devanlai 68:c190028858f9 29 #endif