Skip to content

Commit b28d4c8

Browse files
facchinmyashaswini-hanji
authored andcommitted
Move drivers in core
1 parent d6afd8b commit b28d4c8

13 files changed

+303
-0
lines changed

drivers/amd64/WdfCoInstaller01009.dll

1.64 MB
Binary file not shown.

drivers/amd64/winusbcoinstaller2.dll

979 KB
Binary file not shown.

drivers/dpinst-amd64.exe

1020 KB
Binary file not shown.

drivers/dpinst-x86.exe

901 KB
Binary file not shown.

drivers/intc_composite.cat

10.4 KB
Binary file not shown.

drivers/intc_composite.inf

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
;*********************************************************************************************
2+
; Windows USB Composite Setup File for Arduino 101
3+
;
4+
; Copyright (c) 2015 Intel Corporation
5+
;
6+
; For use only on Windows operating systems.
7+
;*********************************************************************************************
8+
[Version]
9+
Signature = "$WINDOWS NT$"
10+
Class = USB
11+
ClassGUID = {4D36E978-E325-11CE-BFC1-08002BE10318}
12+
Provider = %ProviderName%
13+
DriverVer = 10/13/2015,1.1.0.0
14+
CatalogFile = intc_composite.cat
15+
16+
[Manufacturer]
17+
%ProviderName% = Generic,NTx86,NTamd64
18+
19+
[Generic.NTx86]
20+
; Arduino 101
21+
%USBCompositeDevice% = Composite.Device,USB\VID_8087&PID_0AB6 ; ACM+ACM
22+
23+
[Generic.NTamd64]
24+
; Arduino 101
25+
%USBCompositeDevice% = Composite.Device,USB\VID_8087&PID_0AB6 ; ACM+ACM
26+
27+
[ControlFlags]
28+
ExcludeFromSelect=*
29+
30+
; Common Class Generic Parent for root ID
31+
[Composite.Device]
32+
Include=usb.inf
33+
Needs=Composite.Dev.NT
34+
35+
[Composite.Device.Services]
36+
Include=usb.inf
37+
Needs=Composite.Dev.NT.Services
38+
39+
[SourceDisksNames]
40+
1=%SourceDisk%,,1
41+
42+
[Strings]
43+
ProviderName = "Intel Corporation"
44+
ServiceDisplayName = "Arduino 101 USB Composite Device Driver"
45+
USBCompositeDevice = "Arduino 101 USB Composite Device"
46+
SourceDisk = "Arduino 101 USB Composite Device Install Disk"

drivers/intc_libusb.cat

12.2 KB
Binary file not shown.

drivers/intc_libusb.inf

+174
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
; ======== libusb 1.0 (WinUSB) device driver ==========
2+
;
3+
; To customize this inf file for your own device
4+
;
5+
; 1. Change "DeviceName" with the name you want your device to appear with
6+
; on your system.
7+
;
8+
; 2. Change "VendorID" and "ProductID" according to those of your device.
9+
; If your device is plugged in, you can retrieve these values through the
10+
; Device Manager (regardless of whether the driver is installed or not).
11+
;
12+
; 3. Change "DeviceGUID" to a value that is unique on your system. For more
13+
; information and tools to help you generate your own GUIDs, see
14+
; http://en.wikipedia.org/wiki/Universally_Unique_Identifier.
15+
;
16+
; 4. Change "DeviceClassGUID" to reflect your USB Device Class.
17+
; The following Device Classes are listed for reference:
18+
; {745a17a0-74d3-11d0-b6fe-00a0c90f57da} : HID device
19+
; {78a1c341-4539-11d3-b88d-00c04fad5171} : Generic WinUSB device
20+
;
21+
; 5. (Optional) Change the "Date" string.
22+
;
23+
; Note 1: if you need to create a matching cat file for this inf, you can use
24+
; the inf2cat utility from the WinDDK, with the the following command:
25+
; inf2cat /driver:"path_to_your inf" /os:7_X86,7_X64,Vista_X86,Vista_X64
26+
;
27+
; Note 2: The co-installers provided in these files are version 1.9.
28+
; Please refer to:
29+
; http://blogs.msdn.com/iliast/archive/2008/03/10/why-do-we-need-wdf-coinstallers.aspx and
30+
; http://blogs.msdn.com/iliast/archive/2009/08/13/wdf-logo-requirements-regarding-coinstallers.aspx
31+
; for more information about co-installers and their versioning
32+
33+
; ===================== Strings =======================
34+
35+
[Strings]
36+
37+
; =====================================================
38+
; ========= START USER CONFIGURABLE SECTION ===========
39+
; =====================================================
40+
41+
DeviceName = "Arduino 101 DFU Interface"
42+
VendorID = "VID_8087"
43+
ProductID = "PID_0ABA"
44+
DeviceGUID = "{d35924d6-3e16-4a9e-9782-5524a4b79bac}"
45+
DeviceClassGUID = "{78a1c341-4539-11d3-b88d-00c04fad5171}"
46+
; Date MUST be in MM/DD/YYYY format
47+
Date = "10/13/2015"
48+
49+
; =====================================================
50+
; ========== END USER CONFIGURABLE SECTION ============
51+
; =====================================================
52+
53+
ProviderName = "libusb 1.0"
54+
WinUSB_SvcDesc = "WinUSB Driver Service"
55+
DiskName = "libusb (WinUSB) Device Install Disk"
56+
ClassName = "libusb (WinUSB) devices"
57+
58+
; ====================== Version ======================
59+
60+
[Version]
61+
DriverVer = %Date%
62+
Signature = "$Windows NT$"
63+
Class = %ClassName%
64+
ClassGuid = %DeviceClassGUID%
65+
Provider = %ProviderName%
66+
CatalogFile = intc_libusb.cat
67+
68+
; =================== Class section ===================
69+
70+
; Since the device is not a standard USB device, we define a new class for it.
71+
[ClassInstall32]
72+
Addreg = WinUSBDeviceClassReg
73+
74+
[WinUSBDeviceClassReg]
75+
HKR,,,0,%ClassName%
76+
; -20 is for the USB icon
77+
HKR,,Icon,,-20
78+
79+
; =========== Manufacturer/Models sections ============
80+
81+
[Manufacturer]
82+
%ProviderName% = libusbDevice_WinUSB,NTx86,NTamd64
83+
84+
[libusbDevice_WinUSB.NTx86]
85+
%DeviceName% = USB_Install, USB\%VendorID%&%ProductID%
86+
87+
[libusbDevice_WinUSB.NTamd64]
88+
%DeviceName% = USB_Install, USB\%VendorID%&%ProductID%
89+
90+
; ==================== Installation ===================
91+
92+
; The Include and Needs directives in the USB_Install section are required for
93+
; installing WinUSB on Windows Vista systems. Windows XP systems ignore these
94+
; directives. These directives should not be modified.
95+
[USB_Install]
96+
Include=winusb.inf
97+
Needs=WINUSB.NT
98+
99+
; The Include directive in the USB_Install.Services section includes the system-
100+
; supplied INF for WinUSB. This INF is installed by the WinUSB co-installer if
101+
; it is not already on the target system. The AddService directive specifies
102+
; WinUsb.sys as the device�s function driver. These directives should not be
103+
; modified.
104+
[USB_Install.Services]
105+
Include=winusb.inf
106+
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
107+
108+
; The WinUSB_ServiceInstall section contains the data for installing WinUsb.sys
109+
; as a service. This section should not be modified.
110+
[WinUSB_ServiceInstall]
111+
DisplayName = %WinUSB_SvcDesc%
112+
ServiceType = 1
113+
StartType = 3
114+
ErrorControl = 1
115+
ServiceBinary = %12%\WinUSB.sys
116+
117+
; The KmdfService directive installs WinUsb.sys as a kernel-mode service. The
118+
; referenced WinUSB_Install section specifies the KMDF library version.
119+
; Usually, the version can be derived from the WdfCoInstallerxxyyy.dll with
120+
; xx = major, yyy = minor
121+
[USB_Install.Wdf]
122+
KmdfService=WINUSB, WinUsb_Install
123+
124+
[WinUSB_Install]
125+
KmdfLibraryVersion=1.9
126+
127+
; USB_Install.HW is the key section in the INF. It specifies the device
128+
; interface globally unique identifier (GUID) for your device. The AddReg
129+
; directive puts the interface GUID in a standard registry value. When
130+
; WinUsb.sys is loaded as the device�s function driver, it reads the registry
131+
; value and uses the specified GUID to represent the device interface. You
132+
; should replace the GUID in this example with one that you create specifically
133+
; for your device. If the protocols for the device change, you should create a
134+
; new device interface GUID.
135+
[USB_Install.HW]
136+
AddReg=Dev_AddReg
137+
138+
[Dev_AddReg]
139+
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
140+
141+
; The USB_Install.CoInstallers section, including the referenced AddReg and
142+
; CopyFiles sections, contains data and instructions to install the WinUSB and
143+
; KMDF co installers and associate them with the device. Most USB devices can
144+
; use these sections and directives without modification.
145+
[USB_Install.CoInstallers]
146+
AddReg=CoInstallers_AddReg
147+
CopyFiles=CoInstallers_CopyFiles
148+
149+
[CoInstallers_AddReg]
150+
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
151+
152+
[CoInstallers_CopyFiles]
153+
WinUSBCoInstaller2.dll
154+
WdfCoInstaller01009.dll
155+
156+
[DestinationDirs]
157+
CoInstallers_CopyFiles=11
158+
159+
; =============== Source Media Section ================
160+
161+
; The x86 and x64 versions of Windows have separate co installers. This example
162+
; stores them on the installation disk in folders that are named x86 and amd64
163+
[SourceDisksNames]
164+
1 = %DiskName%,,,\x86
165+
2 = %DiskName%,,,\amd64
166+
167+
[SourceDisksFiles.x86]
168+
WinUSBCoInstaller2.dll=1
169+
WdfCoInstaller01009.dll=1
170+
171+
[SourceDisksFiles.amd64]
172+
WinUSBCoInstaller2.dll=2
173+
WdfCoInstaller01009.dll=2
174+

drivers/intc_serial.cat

10.4 KB
Binary file not shown.

drivers/intc_serial.inf

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
;************************************************************
2+
; Windows USB CDC ACM Setup File
3+
; Copyright (c) 2000 Microsoft Corporation
4+
5+
6+
[Version]
7+
Signature="$Windows NT$"
8+
Class=Ports
9+
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
10+
Provider=%MFGNAME%
11+
DriverVer=10/13/2015,5.1.2600.0
12+
CatalogFile = intc_serial.cat
13+
14+
[Manufacturer]
15+
%MFGNAME%=DeviceList, NTamd64
16+
17+
[DestinationDirs]
18+
DefaultDestDir=12
19+
20+
21+
;------------------------------------------------------------------------------
22+
; Vendor and Product ID Definitions
23+
;------------------------------------------------------------------------------
24+
; When developing your USB device, the VID and PID used in the PC side
25+
; application program and the firmware on the microcontroller must match.
26+
; Modify the below line to use your VID and PID. Use the format as shown below.
27+
; Note: One INF file can be used for multiple devices with different VID and PIDs.
28+
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
29+
;------------------------------------------------------------------------------
30+
31+
[DeviceList]
32+
%DESCRIPTION%=DriverInstall, USB\VID_8087&PID_0AB6
33+
34+
[DeviceList.NTamd64]
35+
%DESCRIPTION%=DriverInstall, USB\VID_8087&PID_0AB6
36+
37+
38+
39+
;------------------------------------------------------------------------------
40+
; String Definitions
41+
;------------------------------------------------------------------------------
42+
;Modify these strings to customize your device
43+
;------------------------------------------------------------------------------
44+
[Strings]
45+
MFGFILENAME="CDC_vista"
46+
DRIVERFILENAME ="usbser"
47+
MFGNAME="http://www.intel.com"
48+
INSTDISK="Arduino 101 Driver Installer"
49+
DESCRIPTION="Arduino 101 Serial Monitor"
50+
SERVICE="USB RS-232 Emulation Driver"
51+
52+
53+
[DriverInstall]
54+
include=mdmcpq.inf,usb.inf
55+
CopyFiles = FakeModemCopyFileSection
56+
AddReg=DriverAddReg
57+
58+
[DriverAddReg]
59+
HKR,,DevLoader,,*ntkern
60+
HKR,,NTMPDriver,,usbser.sys
61+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
62+
63+
[DriverInstall.Services]
64+
include=mdmcpq.inf
65+
AddService=usbser, 0x00000002, DriverService
66+
67+
[DriverService]
68+
DisplayName=%ServiceName%
69+
ServiceType=1
70+
StartType=3
71+
ErrorControl=1
72+
ServiceBinary=%12%\usbser.sys
73+
LoadOrderGroup=Base

drivers/x86/WdfCoInstaller01009.dll

1.39 MB
Binary file not shown.

drivers/x86/winusbcoinstaller2.dll

831 KB
Binary file not shown.

post_install.bat

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
set ARGS=/A /SE /SW /SA
3+
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
4+
drivers\dpinst-amd64.exe %ARGS%
5+
) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
6+
drivers\dpinst-amd64.exe %ARGS%
7+
) ELSE (
8+
drivers\dpinst-x86.exe %ARGS%
9+
)
10+
exit /b 0

0 commit comments

Comments
 (0)