2012-03-24 06:02:03 +00:00
|
|
|
; Windows USB CDC ACM driver setup file.
|
|
|
|
|
|
|
|
; Copyright (C) 2004 Al Borchers (alborchers@steinerpoint.com)
|
|
|
|
; Taken from Linux documentation, modified for Black Magic debug probe
|
|
|
|
; by Gareth McMullin <gareth@blacksphere.co.nz>
|
|
|
|
|
|
|
|
; This provides the driver information for the GDB and UART interfaces to
|
|
|
|
; be presented as virtual serial ports in Windows.
|
|
|
|
|
|
|
|
; Common to Windows 32- and 64-bit systems
|
|
|
|
|
2012-01-08 01:02:48 +00:00
|
|
|
[Version]
|
|
|
|
Signature="$Windows NT$"
|
|
|
|
Class=Ports
|
|
|
|
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
|
|
Provider=%BLACKSPHERE%
|
2012-01-08 01:07:09 +00:00
|
|
|
DriverVer=28/12/2011,0.0.1.1
|
2012-01-08 01:02:48 +00:00
|
|
|
|
|
|
|
[Manufacturer]
|
2012-03-24 06:02:03 +00:00
|
|
|
%VendorName%=DeviceList, NTamd64
|
2012-01-08 01:02:48 +00:00
|
|
|
|
2012-03-24 06:02:03 +00:00
|
|
|
[Strings]
|
|
|
|
VendorName = "Black Sphere Technologies"
|
|
|
|
BLACKMAGICGDB = "Black Magic GDB Server"
|
|
|
|
BLACKMAGICUART = "Black Magic UART Port"
|
|
|
|
BLACKSPHERE_DISPLAY_NAME = "Black Magic Probe Driver"
|
|
|
|
|
|
|
|
[DeviceList]
|
2012-05-26 03:33:16 +00:00
|
|
|
%BLACKMAGICGDB%=DriverInstall, USB\VID_1d50&PID_6018&Rev_0100&MI_00
|
|
|
|
%BLACKMAGICUART%=DriverInstall, USB\VID_1d50&PID_6018&Rev_0100&MI_02
|
2012-03-24 06:02:03 +00:00
|
|
|
|
|
|
|
[DeviceList.NTamd64]
|
2012-05-26 03:33:16 +00:00
|
|
|
%BLACKMAGICGDB%=DriverInstall, USB\VID_1d50&PID_6018&Rev_0100&MI_00
|
|
|
|
%BLACKMAGICUART%=DriverInstall, USB\VID_1d50&PID_6018&Rev_0100&MI_02
|
2012-01-08 01:02:48 +00:00
|
|
|
|
|
|
|
[DestinationDirs]
|
|
|
|
DefaultDestDir=10,System32\Drivers
|
|
|
|
|
2012-03-24 06:02:03 +00:00
|
|
|
; Windows 32-bit sections
|
|
|
|
;~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
[DriverInstall.nt]
|
|
|
|
CopyFiles=DriverCopyFiles.nt
|
|
|
|
AddReg=DriverInstall.nt.AddReg
|
2012-01-08 01:02:48 +00:00
|
|
|
|
2012-03-24 06:02:03 +00:00
|
|
|
[DriverCopyFiles.nt]
|
|
|
|
usbser.sys,,,0x20
|
2012-01-08 01:02:48 +00:00
|
|
|
|
2012-03-24 06:02:03 +00:00
|
|
|
[DriverInstall.nt.AddReg]
|
2012-01-08 01:02:48 +00:00
|
|
|
HKR,,DevLoader,,*ntkern
|
|
|
|
HKR,,NTMPDriver,,usbser.sys
|
|
|
|
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
|
|
|
|
2012-03-24 06:02:03 +00:00
|
|
|
[DriverInstall.nt.Services]
|
|
|
|
AddService = usbser,0x0002,DriverService.nt
|
2012-01-08 01:02:48 +00:00
|
|
|
|
2012-03-24 06:02:03 +00:00
|
|
|
[DriverService.nt]
|
2012-01-08 01:02:48 +00:00
|
|
|
DisplayName = %BLACKSPHERE_DISPLAY_NAME%
|
|
|
|
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
|
|
|
StartType = 3 ; SERVICE_DEMAND_START
|
|
|
|
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
|
|
|
ServiceBinary = %10%\System32\Drivers\usbser.sys
|
|
|
|
LoadOrderGroup = Base
|
|
|
|
|
2012-03-24 06:02:03 +00:00
|
|
|
; Windows 64-bit sections
|
|
|
|
;~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
[DriverInstall.NTamd64]
|
|
|
|
CopyFiles=DriverCopyFiles.NTamd64
|
|
|
|
AddReg=DriverInstall.NTamd64.AddReg
|
|
|
|
|
|
|
|
[DriverCopyFiles.NTamd64]
|
|
|
|
usbser.sys,,,0x20
|
|
|
|
|
|
|
|
[DriverInstall.NTamd64.AddReg]
|
|
|
|
HKR,,DevLoader,,*ntkern
|
|
|
|
HKR,,NTMPDriver,,usbser.sys
|
|
|
|
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
|
|
|
|
|
|
|
[DriverInstall.NTamd64.Services]
|
|
|
|
AddService = usbser,0x0002,DriverService.NTamd64
|
|
|
|
|
|
|
|
[DriverService.NTamd64]
|
|
|
|
DisplayName = %BLACKSPHERE_DISPLAY_NAME%
|
|
|
|
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
|
|
|
StartType = 3 ; SERVICE_DEMAND_START
|
|
|
|
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
|
|
|
ServiceBinary = %10%\System32\Drivers\usbser.sys
|
|
|
|
LoadOrderGroup = Base
|
2012-01-08 01:02:48 +00:00
|
|
|
|