Skip to content

Commit c675c69

Browse files
committed
Update to ST-LINK_USB_V2_1_Driver
Signed-off-by: Frederic Pillon <[email protected]>
1 parent fbc5dd1 commit c675c69

14 files changed

+217
-211
lines changed
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
1-
2-
;
3-
; Installs the Virtual COM port interface of ST-Link based composite devices.
4-
;
5-
6-
[Version]
7-
Signature = "$Windows NT$"
8-
Class = Ports
9-
ClassGUID = {4D36E978-E325-11CE-BFC1-08002BE10318}
10-
Provider = %ManufacturerName%
11-
CatalogFile.NTx86 = STLinkVCP_x86.cat
12-
CatalogFile.NTAMD64 = STLinkVCP_x64.cat
13-
DriverVer=12/10/2013,1.0
14-
15-
; ========== Manufacturer/Models sections ===========
16-
17-
[Manufacturer]
18-
%ManufacturerName% = Standard,NTx86,NTamd64
19-
20-
; List of devices supporting the Virtual COM port (with the corresponding interface ID)
21-
[Standard.NTx86]
22-
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374A&MI_02
23-
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374B&MI_02
24-
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374C&MI_01
25-
26-
[Standard.NTamd64]
27-
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374A&MI_02
28-
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374B&MI_02
29-
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374C&MI_01
30-
31-
; ========== Class definition ===========
32-
33-
[ClassInstall32]
34-
AddReg = ClassInstall_AddReg
35-
36-
[ClassInstall_AddReg]
37-
HKR,,,,%ClassName%
38-
HKR,,NoInstallClass,,1
39-
HKR,,IconPath,%REG_MULTI_SZ%,"%systemroot%\system32\setupapi.dll,-20"
40-
HKR,,LowerLogoVersion,,5.2
41-
42-
; =================== Installation ===================
43-
44-
[USB_InstallVCP]
45-
Include = mdmcpq.inf
46-
CopyFiles = FakeModemCopyFileSection
47-
AddReg = USB_InstallVCP.AddReg
48-
49-
[USB_InstallVCP.AddReg]
50-
HKR,,DevLoader,,*ntkern
51-
HKR,,NTMPDriver,,usbser.sys
52-
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
53-
54-
[USB_InstallVCP.Services]
55-
AddService=usbser, 0x00000002, DriverService
56-
57-
[DriverService]
58-
DisplayName=%DeviceNameVCP%
59-
ServiceType=1
60-
StartType=3
61-
ErrorControl=1
62-
ServiceBinary=%12%\usbser.sys
63-
64-
; [DestinationDirs]
65-
; If your INF needs to copy files, you must not use the DefaultDestDir directive here.
66-
; You must explicitly reference all file-list-section names in this section.
67-
68-
; =================== Strings ===================
69-
70-
[Strings]
71-
ManufacturerName="STMicroelectronics"
72-
ClassName="Universal Serial Bus devices"
73-
DeviceNameVCP="STMicroelectronics STLink Virtual COM Port"
74-
REG_MULTI_SZ = 0x00010000
1+
2+
;
3+
; Installs the Virtual COM port interface of ST-Link based composite devices.
4+
;
5+
6+
[Version]
7+
Signature = "$Windows NT$"
8+
Class = Ports
9+
ClassGUID = {4D36E978-E325-11CE-BFC1-08002BE10318}
10+
Provider = %ManufacturerName%
11+
CatalogFile.NTx86 = STLinkVCP_x86.cat
12+
CatalogFile.NTAMD64 = STLinkVCP_x64.cat
13+
DriverVer=12/10/2013,1.0
14+
15+
; ========== Manufacturer/Models sections ===========
16+
17+
[Manufacturer]
18+
%ManufacturerName% = Standard,NTx86,NTamd64
19+
20+
; List of devices supporting the Virtual COM port (with the corresponding interface ID)
21+
[Standard.NTx86]
22+
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374A&MI_02
23+
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374B&MI_02
24+
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374C&MI_01
25+
26+
[Standard.NTamd64]
27+
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374A&MI_02
28+
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374B&MI_02
29+
%DeviceNameVCP% =USB_InstallVCP, USB\VID_0483&PID_374C&MI_01
30+
31+
; ========== Class definition ===========
32+
33+
[ClassInstall32]
34+
AddReg = ClassInstall_AddReg
35+
36+
[ClassInstall_AddReg]
37+
HKR,,,,%ClassName%
38+
HKR,,NoInstallClass,,1
39+
HKR,,IconPath,%REG_MULTI_SZ%,"%systemroot%\system32\setupapi.dll,-20"
40+
HKR,,LowerLogoVersion,,5.2
41+
42+
; =================== Installation ===================
43+
44+
[USB_InstallVCP]
45+
Include = mdmcpq.inf
46+
CopyFiles = FakeModemCopyFileSection
47+
AddReg = USB_InstallVCP.AddReg
48+
49+
[USB_InstallVCP.AddReg]
50+
HKR,,DevLoader,,*ntkern
51+
HKR,,NTMPDriver,,usbser.sys
52+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
53+
54+
[USB_InstallVCP.Services]
55+
AddService=usbser, 0x00000002, DriverService
56+
57+
[DriverService]
58+
DisplayName=%DeviceNameVCP%
59+
ServiceType=1
60+
StartType=3
61+
ErrorControl=1
62+
ServiceBinary=%12%\usbser.sys
63+
64+
; [DestinationDirs]
65+
; If your INF needs to copy files, you must not use the DefaultDestDir directive here.
66+
; You must explicitly reference all file-list-section names in this section.
67+
68+
; =================== Strings ===================
69+
70+
[Strings]
71+
ManufacturerName="STMicroelectronics"
72+
ClassName="Universal Serial Bus devices"
73+
DeviceNameVCP="STMicroelectronics STLink Virtual COM Port"
74+
REG_MULTI_SZ = 0x00010000

0 commit comments

Comments
 (0)