aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/KINETIS/FRDM-K20D50M/USB_SERIAL/chtsy.inf
diff options
context:
space:
mode:
authorJonathan Struebel <jonathan.struebel@gmail.com>2016-03-29 20:27:34 -0700
committerJonathan Struebel <jonathan.struebel@gmail.com>2016-03-29 20:27:34 -0700
commitc876a8d1d4d92c553b77995adad6a049ff81e5b6 (patch)
tree20a344d1504cdf92d9b3a793f1a144156abce6d1 /testhal/KINETIS/FRDM-K20D50M/USB_SERIAL/chtsy.inf
parent1b08012c7567e7ddabd7483d24c7e11919a76f3c (diff)
downloadChibiOS-Contrib-c876a8d1d4d92c553b77995adad6a049ff81e5b6.tar.gz
ChibiOS-Contrib-c876a8d1d4d92c553b77995adad6a049ff81e5b6.tar.bz2
ChibiOS-Contrib-c876a8d1d4d92c553b77995adad6a049ff81e5b6.zip
[KINETIS] Added USB_SERIAL testhal for FRDM-K20D50M board
Diffstat (limited to 'testhal/KINETIS/FRDM-K20D50M/USB_SERIAL/chtsy.inf')
-rw-r--r--testhal/KINETIS/FRDM-K20D50M/USB_SERIAL/chtsy.inf106
1 files changed, 106 insertions, 0 deletions
diff --git a/testhal/KINETIS/FRDM-K20D50M/USB_SERIAL/chtsy.inf b/testhal/KINETIS/FRDM-K20D50M/USB_SERIAL/chtsy.inf
new file mode 100644
index 0000000..519b300
--- /dev/null
+++ b/testhal/KINETIS/FRDM-K20D50M/USB_SERIAL/chtsy.inf
@@ -0,0 +1,106 @@
+;************************************************************
+; Windows USB CDC ACM Setup File
+; Copyright (c) 2000 Microsoft Corporation
+
+
+[Version]
+Signature="$Windows NT$"
+Class=Ports
+ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
+Provider=%MFGNAME%
+LayoutFile=layout.inf
+CatalogFile=%MFGFILENAME%.cat
+DriverVer=11/15/2007,5.1.2600.0
+
+[Manufacturer]
+%MFGNAME%=DeviceList, NTamd64
+
+[DestinationDirs]
+DefaultDestDir=12
+
+
+;------------------------------------------------------------------------------
+; Windows 2000/XP/Vista-32bit Sections
+;------------------------------------------------------------------------------
+
+[DriverInstall.nt]
+include=mdmcpq.inf
+CopyFiles=DriverCopyFiles.nt
+AddReg=DriverInstall.nt.AddReg
+
+[DriverCopyFiles.nt]
+usbser.sys,,,0x20
+
+[DriverInstall.nt.AddReg]
+HKR,,DevLoader,,*ntkern
+HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
+HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
+
+[DriverInstall.nt.Services]
+AddService=usbser, 0x00000002, DriverService.nt
+
+[DriverService.nt]
+DisplayName=%SERVICE%
+ServiceType=1
+StartType=3
+ErrorControl=1
+ServiceBinary=%12%\%DRIVERFILENAME%.sys
+
+;------------------------------------------------------------------------------
+; 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
+
+
+;------------------------------------------------------------------------------
+; 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_0179&PID_0001
+
+[DeviceList.NTamd64]
+%DESCRIPTION%=DriverInstall, USB\VID_0179&PID_0001
+
+
+;------------------------------------------------------------------------------
+; String Definitions
+;------------------------------------------------------------------------------
+;Modify these strings to customize your device
+;------------------------------------------------------------------------------
+[Strings]
+MFGFILENAME="ChTsy"
+DRIVERFILENAME ="usbser"
+MFGNAME="NopeLab"
+INSTDISK="ChTsy CDC driver"
+DESCRIPTION="ChTsy CDC driver"
+SERVICE="USB RS-232 Emulation Driver" \ No newline at end of file