Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a5c18f32
Commit
a5c18f32
authored
Apr 09, 2014
by
Damien George
Browse files
stmhal: Update windows driver; \r\n newlines and addition USB id.
parent
b99ca2cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/pybcdc.h
View file @
a5c18f32
"; Windows USB CDC ACM Setup File
\n
"
"; Based on INF files which were:
\n
"
"; Copyright (c) 2000 Microsoft Corporation
\n
"
"; Copyright (C) 2007 Microchip Technology Inc.
\n
"
"; Likely to be covered by the MLPL as found at:
\n
"
"; <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>.
\n
"
"
\n
"
"[Version]
\n
"
"Signature=
\"
$Windows NT$
\"\n
"
"Class=Ports
\n
"
"ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
\n
"
"Provider=%MFGNAME%
\n
"
"LayoutFile=layout.inf
\n
"
"DriverVer=03/11/2010,5.1.2600.3
\n
"
"
\n
"
"[Manufacturer]
\n
"
"%MFGNAME%=DeviceList, NTamd64
\n
"
"
\n
"
"[DestinationDirs]
\n
"
"DefaultDestDir=12
\n
"
"
\n
"
";---------------------------------------------------------------------
\n
"
"; Windows 2000/XP/Server2003/Vista/Server2008/7 - 32bit Sections
\n
"
"
\n
"
"[DriverInstall.nt]
\n
"
"include=mdmcpq.inf
\n
"
"CopyFiles=DriverCopyFiles.nt
\n
"
"AddReg=DriverInstall.nt.AddReg
\n
"
"
\n
"
"[DriverCopyFiles.nt]
\n
"
"usbser.sys,,,0x20
\n
"
"
\n
"
"[DriverInstall.nt.AddReg]
\n
"
"HKR,,DevLoader,,*ntkern
\n
"
"HKR,,NTMPDriver,,usbser.sys
\n
"
"HKR,,EnumPropPages32,,
\"
MsPorts.dll,SerialPortPropPageProvider
\"\n
"
"
\n
"
"[DriverInstall.nt.Services]
\n
"
"AddService=usbser, 0x00000002, DriverService.nt
\n
"
"
\n
"
"[DriverService.nt]
\n
"
"DisplayName=%SERVICE%
\n
"
"ServiceType=1
\n
"
"StartType=3
\n
"
"ErrorControl=1
\n
"
"ServiceBinary=%12%
\\
usbser.sys
\n
"
"
\n
"
";---------------------------------------------------------------------
\n
"
"; Windows XP/Server2003/Vista/Server2008/7 - 64bit Sections
\n
"
"
\n
"
"[DriverInstall.NTamd64]
\n
"
"include=mdmcpq.inf
\n
"
"CopyFiles=DriverCopyFiles.NTamd64
\n
"
"AddReg=DriverInstall.NTamd64.AddReg
\n
"
"
\n
"
"[DriverCopyFiles.NTamd64]
\n
"
"usbser.sys,,,0x20
\n
"
"
\n
"
"[DriverInstall.NTamd64.AddReg]
\n
"
"HKR,,DevLoader,,*ntkern
\n
"
"HKR,,NTMPDriver,,usbser.sys
\n
"
"HKR,,EnumPropPages32,,
\"
MsPorts.dll,SerialPortPropPageProvider
\"\n
"
"
\n
"
"[DriverInstall.NTamd64.Services]
\n
"
"AddService=usbser, 0x00000002, DriverService.NTamd64
\n
"
"
\n
"
"[DriverService.NTamd64]
\n
"
"DisplayName=%SERVICE%
\n
"
"ServiceType=1
\n
"
"StartType=3
\n
"
"ErrorControl=1
\n
"
"ServiceBinary=%12%
\\
usbser.sys
\n
"
"
\n
"
";---------------------------------------------------------------------
\n
"
"; Vendor and Product ID Definitions
\n
"
"
\n
"
"[SourceDisksFiles]
\n
"
"[SourceDisksNames]
\n
"
"[DeviceList]
\n
"
"%DESCRIPTION%=DriverInstall, USB
\\
VID_0483&PID_5740&MI_00
\n
"
"
\n
"
"[DeviceList.NTamd64]
\n
"
"%DESCRIPTION%=DriverInstall, USB
\\
VID_0483&PID_5740&MI_00
\n
"
"
\n
"
";---------------------------------------------------------------------
\n
"
"; String Definitions
\n
"
"
\n
"
"[Strings]
\n
"
"MFGFILENAME=
\"
pybcdc
\"\n
"
"MFGNAME=
\"
Micro Python
\"\n
"
"DESCRIPTION=
\"
Pyboard USB Comm Port
\"\n
"
"SERVICE=
\"
USB Serial Driver
\"\n
"
"; Windows USB CDC ACM Setup File
\
r\
n
"
"; Based on INF files which were:
\
r\
n
"
"; Copyright (c) 2000 Microsoft Corporation
\
r\
n
"
"; Copyright (C) 2007 Microchip Technology Inc.
\
r\
n
"
"; Likely to be covered by the MLPL as found at:
\
r\
n
"
"; <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>.
\
r\
n
"
"
\
r\
n
"
"[Version]
\
r\
n
"
"Signature=
\"
$Windows NT$
\"\
r\
n
"
"Class=Ports
\
r\
n
"
"ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
\
r\
n
"
"Provider=%MFGNAME%
\
r\
n
"
"LayoutFile=layout.inf
\
r\
n
"
"DriverVer=03/11/2010,5.1.2600.3
\
r\
n
"
"
\
r\
n
"
"[Manufacturer]
\
r\
n
"
"%MFGNAME%=DeviceList, NTamd64
\
r\
n
"
"
\
r\
n
"
"[DestinationDirs]
\
r\
n
"
"DefaultDestDir=12
\
r\
n
"
"
\
r\
n
"
";---------------------------------------------------------------------
\
r\
n
"
"; Windows 2000/XP/Server2003/Vista/Server2008/7 - 32bit Sections
\
r\
n
"
"
\
r\
n
"
"[DriverInstall.nt]
\
r\
n
"
"include=mdmcpq.inf
\
r\
n
"
"CopyFiles=DriverCopyFiles.nt
\
r\
n
"
"AddReg=DriverInstall.nt.AddReg
\
r\
n
"
"
\
r\
n
"
"[DriverCopyFiles.nt]
\
r\
n
"
"usbser.sys,,,0x20
\
r\
n
"
"
\
r\
n
"
"[DriverInstall.nt.AddReg]
\
r\
n
"
"HKR,,DevLoader,,*ntkern
\
r\
n
"
"HKR,,NTMPDriver,,usbser.sys
\
r\
n
"
"HKR,,EnumPropPages32,,
\"
MsPorts.dll,SerialPortPropPageProvider
\"\
r\
n
"
"
\
r\
n
"
"[DriverInstall.nt.Services]
\
r\
n
"
"AddService=usbser, 0x00000002, DriverService.nt
\
r\
n
"
"
\
r\
n
"
"[DriverService.nt]
\
r\
n
"
"DisplayName=%SERVICE%
\
r\
n
"
"ServiceType=1
\
r\
n
"
"StartType=3
\
r\
n
"
"ErrorControl=1
\
r\
n
"
"ServiceBinary=%12%
\\
usbser.sys
\
r\
n
"
"
\
r\
n
"
";---------------------------------------------------------------------
\
r\
n
"
"; Windows XP/Server2003/Vista/Server2008/7 - 64bit Sections
\
r\
n
"
"
\
r\
n
"
"[DriverInstall.NTamd64]
\
r\
n
"
"include=mdmcpq.inf
\
r\
n
"
"CopyFiles=DriverCopyFiles.NTamd64
\
r\
n
"
"AddReg=DriverInstall.NTamd64.AddReg
\
r\
n
"
"
\
r\
n
"
"[DriverCopyFiles.NTamd64]
\
r\
n
"
"usbser.sys,,,0x20
\
r\
n
"
"
\
r\
n
"
"[DriverInstall.NTamd64.AddReg]
\
r\
n
"
"HKR,,DevLoader,,*ntkern
\
r\
n
"
"HKR,,NTMPDriver,,usbser.sys
\
r\
n
"
"HKR,,EnumPropPages32,,
\"
MsPorts.dll,SerialPortPropPageProvider
\"\
r\
n
"
"
\
r\
n
"
"[DriverInstall.NTamd64.Services]
\
r\
n
"
"AddService=usbser, 0x00000002, DriverService.NTamd64
\
r\
n
"
"
\
r\
n
"
"[DriverService.NTamd64]
\
r\
n
"
"DisplayName=%SERVICE%
\
r\
n
"
"ServiceType=1
\
r\
n
"
"StartType=3
\
r\
n
"
"ErrorControl=1
\
r\
n
"
"ServiceBinary=%12%
\\
usbser.sys
\
r\
n
"
"
\
r\
n
"
";---------------------------------------------------------------------
\
r\
n
"
"; Vendor and Product ID Definitions
\
r\
n
"
"
\
r\
n
"
"[SourceDisksFiles]
\
r\
n
"
"[SourceDisksNames]
\
r\
n
"
"[DeviceList]
\
r\
n
"
"%DESCRIPTION%=DriverInstall, USB
\\
VID_0483&PID_5740&MI_00
, USB
\\
VID_0483&PID_5740&MI_01
\r
\n
"
"
\
r\
n
"
"[DeviceList.NTamd64]
\
r\
n
"
"%DESCRIPTION%=DriverInstall, USB
\\
VID_0483&PID_5740&MI_00
, USB
\\
VID_0483&PID_5740&MI_01
\r
\n
"
"
\
r\
n
"
";---------------------------------------------------------------------
\
r\
n
"
"; String Definitions
\
r\
n
"
"
\
r\
n
"
"[Strings]
\
r\
n
"
"MFGFILENAME=
\"
pybcdc
\"\
r\
n
"
"MFGNAME=
\"
Micro Python
\"\
r\
n
"
"DESCRIPTION=
\"
Pyboard USB Comm Port
\"\
r\
n
"
"SERVICE=
\"
USB Serial Driver
\"\
r\
n
"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment