From 461d4a2ddd980f9b2e8c429c79a531c2748a7c76 Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Fri, 20 Apr 2012 09:02:40 -0400 Subject: [PATCH] hid+vcp: Add Windows INF file for CDC on OpenPilot boards --- flight/Project/Windows USB/OpenPilot-CDC.inf | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 flight/Project/Windows USB/OpenPilot-CDC.inf diff --git a/flight/Project/Windows USB/OpenPilot-CDC.inf b/flight/Project/Windows USB/OpenPilot-CDC.inf new file mode 100644 index 000000000..a33223129 --- /dev/null +++ b/flight/Project/Windows USB/OpenPilot-CDC.inf @@ -0,0 +1,32 @@ +[Version] +Signature="$Windows NT$" +Class=Ports +ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} +Provider=%ProviderName% +DriverVer=10/15/2009,1.0.0.0 + +[MANUFACTURER] +%ProviderName%=DeviceList, NTx86, NTamd64 + +[DeviceList.NTx86] +%CopterControl%= DriverInstall,USB\VID_20A0&PID_415b&MI_00 + +[DeviceList.NTamd64] +%CopterControl%= DriverInstall,USB\VID_20A0&PID_415b&MI_00 + +[DriverInstall] +include=mdmcpq.inf +CopyFiles=FakeModemCopyFileSection +AddReg=LowerFilterAddReg,SerialPropPageAddReg + +[DriverInstall.Services] +include = mdmcpq.inf +AddService = usbser, 0x00000002, LowerFilter_Service_Inst + +; This adds the serial port property tab to the device properties dialog +[SerialPropPageAddReg] +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" + +[Strings] +ProviderName = "CDC Driver" +CopterControl = "OpenPilot CDC Driver"