This fork re-enables FRDM boards and adds WebUSB CDC functionality
Fork of USBDevice_STM32F103 by
Diff: USBDFU/WinUSB.h
- Revision:
- 68:c190028858f9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDFU/WinUSB.h Sun Sep 04 09:54:47 2016 +0000 @@ -0,0 +1,29 @@ +/* +* 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 \ No newline at end of file