LUFA CDC Bootloader.inf 3.23 KB
Newer Older
1
2
;************************************************************
; Windows USB CDC ACM Setup File
3
4
; Copyright (c) 2000 Microsoft Corporation

5
6
7

[Version]
Signature="$Windows NT$"
8
Class=Ports
9
10
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%
11
LayoutFile=layout.inf
12
13
CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
14

15
16
[Manufacturer]
%MFGNAME%=DeviceList, NTamd64
17

18
19
[DestinationDirs]
DefaultDestDir=12
20
21
22


;------------------------------------------------------------------------------
23
;  Windows 2000/XP/Vista-32bit Sections
24
25
;------------------------------------------------------------------------------

26
27
28
29
[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
30

31
[DriverCopyFiles.nt]
32
33
usbser.sys,,,0x20

34
35
36
37
[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
38

39
40
[DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService.nt
41

42
[DriverService.nt]
43
44
45
46
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
47
ServiceBinary=%12%\%DRIVERFILENAME%.sys
48
49

;------------------------------------------------------------------------------
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
;  Vista-64bit Sections
;------------------------------------------------------------------------------

[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg

[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20

[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64

[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys


77
;------------------------------------------------------------------------------
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
;  Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID.  Use the format as shown below.
; Note: One INF file can be used for multiple devices with different VID and PIDs.
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A

[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A
93

94
95
96
97
98
99
100
101
102
103
104
105
106

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------
;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA CDC Bootloader Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"