mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
[SAM] CDC+HID working. INF file added. Updated PID to 0x003E. Tested on
WinXP32.
This commit is contained in:
@ -1,102 +0,0 @@
|
||||
;
|
||||
; Windows USB CDC Driver Setup File for ARDUINO Due
|
||||
;
|
||||
; On Windows 7, right click to update driver software. It may take a while to
|
||||
; get this option, even if you cancel the auto driver search.
|
||||
; choose "browse my computer for driver software",
|
||||
; choose "let me pick from a list of device drivers on my computer",
|
||||
; Click "have disk" and browse to this .inf file
|
||||
; If there is a problem, right click and uninstall, checking delete driver software.
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
[Version]
|
||||
Signature="$Windows NT$"
|
||||
Class=Ports
|
||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
||||
Provider=%ARDUINO%
|
||||
LayoutFile=layout.inf
|
||||
|
||||
DriverVer= 03/09/2011,2.0.0.0
|
||||
|
||||
[Manufacturer]
|
||||
%ARDUINO%=DeviceList,NTamd64
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir=12
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Windows 2000/XP/Vista32 Support
|
||||
;------------------------------------------------------------------------------
|
||||
[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,,usbser.sys
|
||||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
||||
|
||||
[DriverInstall.nt.Services]
|
||||
AddService=usbser, 0x00000002, DriverService.nt
|
||||
|
||||
[DriverService.nt]
|
||||
DisplayName=%USBtoSerialConverter%
|
||||
ServiceType=1
|
||||
StartType=3
|
||||
ErrorControl=1
|
||||
ServiceBinary=%12%\usbser.sys
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Windows Vista64 Support
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
[DriverInstall.NTamd64]
|
||||
include=mdmcpq.inf
|
||||
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, 0x00000002, DriverService.NTamd64
|
||||
|
||||
[DriverService.NTamd64]
|
||||
DisplayName=%USBtoSerialConverter%
|
||||
ServiceType=1
|
||||
StartType=3
|
||||
ErrorControl=1
|
||||
ServiceBinary=%12%\usbser.sys
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; VID/PID Settings
|
||||
;------------------------------------------------------------------------------
|
||||
[SourceDisksFiles]
|
||||
[SourceDisksNames]
|
||||
[DeviceList]
|
||||
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_CAFF ; CDC
|
||||
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_DAFF&MI_00 ; HID + CDC
|
||||
|
||||
[DeviceList.NTamd64]
|
||||
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_CAFF ; CDC
|
||||
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_DAFF&MI_00 ; HID + CDC
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; String Definitions
|
||||
;------------------------------------------------------------------------------
|
||||
[Strings]
|
||||
|
||||
ARDUINO="ARDUINO LLC" ; String value for the ARDUINO symbol
|
||||
USBtoSerialConverter="Arduino USB to Serial Converter" ; String value for the USBtoSerialConverter symbol
|
Reference in New Issue
Block a user