; C5515_CDC_ACM.inf ; ; INF file for C5515_USB_CDC_ACM example ; ; 1) Replace VID/PID to your own in [MYCORP] section ; VID_vvvv&PID_pppp ; vvvv, pppp: four digit hex number of VID and PID, respectively ; ; 2) Replace 'MYCORP' to your own abbreviated one (without space) ; ex Silicon Laboratories -> SILABS ; - Replace all MYCORP in this inf file ; ; 3) Replace 'MYDEV000' to your device model number (without space) ; ex C8051F320 Development kit -> F320DK ; - Replace all MYDEV000 in this inf file ; ; 4) Edit the strings in [Strings] section ; [Version] Signature="$Windows NT$" Class=Ports ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} Provider=%TICORP% ;LayoutFile=layout.inf DriverVer=02/26/2014,1.00.00.001 [Manufacturer] %TICORP%=TICORP, NTamd64 [SourceDisksFiles] [SourceDisksNames] [DestinationDirs] FakeModemCopyFileSection = 12 DefaultDestDir = 12 ;------------------------------------------------------------------------------ ; Windows 2000/XP/Vista-32bit Sections (original INF from TI contents) ;------------------------------------------------------------------------------ [TICORP] %C5515% = C5515,USB\VID_0451&PID_9010 [C5515.NT] include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=C5515.NT.AddReg [C5515.NT.Services] AddService = usbser, 0x00000002, Service_Inst [Service_Inst] DisplayName = %Serial.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\usbser.sys LoadOrderGroup = Base [C5515.NT.AddReg] HKR,,NTMPDriver,,*ntkern HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,PortSubClass,1,01 [Strings] TICORP = "Texas Instruments Inc." ; Your company name C5515 = "C5515 CDC ACM device" ; Device description Serial.SvcDesc = "C5515 CDC ACM Driver" ; Device driver description ;------------------------------------------------------------------------------ ; Vista-64bit Sections ; adapted from ;------------------------------------------------------------------------------ [TICORP.NTamd64] %C5515% = C5515,USB\VID_0451&PID_9010 [C5515.NTamd64] include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection ;CopyFiles=DriverCopyFiles.NTamd64 AddReg=C5515.NTamd64.AddReg [C5515.NTamd64.Services] AddService=usbser, 0x00000002, Service_Inst.NTamd64 [Service_Inst.NTamd64] DisplayName = %Serial.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary=%12%\usbser.sys LoadOrderGroup = Base [C5515.NTamd64.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,PortSubClass,1,01 ;[DriverCopyFiles.NTamd64] ;usbser.sys,,,0x20