1; Copyright (c) 2019 Nordic Semiconductor
2; SPDX-License-Identifier: Apache-2.0
3; Windows 2000, XP, Vista, 7 and 8 (x32 and x64) driver for Zephyr CDC ACM
4
5[Version]
6Signature   = "$Windows NT$"
7Class       = Ports
8ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
9Provider    = %Manufacturer%
10DriverVer   = 06/03/2019,1.0.0.0
11CatalogFile = zephyr_cdc_acm.cat
12
13;----------------------------------------------------------
14; Targets
15;----------------------------------------------------------
16[Manufacturer]
17%Manufacturer%=DeviceList, NTAMD64, NTIA64, NTx86
18
19[DeviceList.NTx86]
20%ZEPHYR_CDC_ACM_SAMPLE%       =DriverInstall, USB\VID_2FE3&PID_0001&MI_00
21%ZEPHYR_CDC_COMPISITE_SAMPLE% =DriverInstall, USB\VID_2FE3&PID_0002&MI_00
22%ZEPHYR_HID_CDC_SAMPLE_0%     =DriverInstall, USB\VID_2FE3&PID_0003&MI_00
23%ZEPHYR_HID_CDC_SAMPLE_1%     =DriverInstall, USB\VID_2FE3&PID_0003&MI_03
24
25[DeviceList.NTAMD64]
26%ZEPHYR_CDC_ACM_SAMPLE%       =DriverInstall.NTamd64, USB\VID_2FE3&PID_0001&MI_00
27%ZEPHYR_CDC_COMPISITE_SAMPLE% =DriverInstall.NTamd64, USB\VID_2FE3&PID_0002&MI_00
28%ZEPHYR_HID_CDC_SAMPLE_0%     =DriverInstall.NTamd64, USB\VID_2FE3&PID_0003&MI_00
29%ZEPHYR_HID_CDC_SAMPLE_1%     =DriverInstall.NTamd64, USB\VID_2FE3&PID_0003&MI_03
30
31[DeviceList.NTIA64]
32%ZEPHYR_CDC_ACM_SAMPLE%       =DriverInstall.NTamd64, USB\VID_2FE3&PID_0001&MI_00
33%ZEPHYR_CDC_COMPISITE_SAMPLE% =DriverInstall.NTamd64, USB\VID_2FE3&PID_0002&MI_00
34%ZEPHYR_HID_CDC_SAMPLE_0%     =DriverInstall.NTamd64, USB\VID_2FE3&PID_0003&MI_00
35%ZEPHYR_HID_CDC_SAMPLE_1%     =DriverInstall.NTamd64, USB\VID_2FE3&PID_0003&MI_03
36
37;----------------------------------------------------------
38; Windows 2000, XP, Vista, Windows 7, Windows 8 - 32bit
39;----------------------------------------------------------
40
41[DestinationDirs]
42DefaultDestDir=12
43DriverInstall.NT.Copy=12
44
45[DriverInstall.NT]
46include=mdmcpq.inf
47CopyFiles=DriverInstall.NT.Copy
48AddReg=DriverInstall.NT.AddReg
49
50[DriverInstall.NT.Copy]
51
52[DriverInstall.NT.AddReg]
53HKR,,DevLoader,,*ntkern
54HKR,,NTMPDriver,,usbser.sys
55HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
56
57[DriverInstall.NT.Services]
58include=mdmcpq.inf
59AddService = usbser, 0x00000002, DriverService.NT
60
61[DriverService.NT]
62DisplayName = %Serial.SvcDesc%
63ServiceType = 1 ; SERVICE_KERNEL_DRIVER
64StartType = 3 ; SERVICE_DEMAND_START
65ErrorControl = 1 ; SERVICE_ERROR_NORMAL
66ServiceBinary = %12%\usbser.sys
67LoadOrderGroup = Base
68
69;----------------------------------------------------------
70; Windows XP, Vista, Windows 7, Windows 8 - 64bit
71;----------------------------------------------------------
72
73[DriverInstall.NTamd64]
74include=mdmcpq.inf
75CopyFiles=DriverCopyFiles.NTamd64
76AddReg=DriverInstall.NTamd64.AddReg
77
78[DriverCopyFiles.NTamd64]
79
80[DriverInstall.NTamd64.AddReg]
81HKR,,DevLoader,,*ntkern
82HKR,,NTMPDriver,,usbser.sys
83HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
84
85[DriverInstall.NTamd64.Services]
86AddService=usbser, 0x00000002, DriverService.NT
87
88;----------------------------------------------------------
89; String
90;----------------------------------------------------------
91
92[Strings]
93Manufacturer = "ZEPHYR"
94ZEPHYR_CDC_ACM_SAMPLE       = "Zephyr CDC ACM sample"
95ZEPHYR_CDC_COMPISITE_SAMPLE = "Zephyr CDC ACM Composite sample"
96ZEPHYR_HID_CDC_SAMPLE_0     = "Zephyr HID and CDC ACM sample 0"
97ZEPHYR_HID_CDC_SAMPLE_1     = "Zephyr HID and CDC ACM sample 1"
98
99Serial.SvcDesc = "USB Serial emulation driver"
100