From 228b6bd2621cde0dc20b68988b136efee0a2d7f2 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 25 Sep 2012 19:51:19 +0200 Subject: [PATCH] Update Due Drivers for Windows --- .../drivers/Arduino Due Programming Port.inf | 106 ++++++++++++++++++ .../{Arduino Due X.inf => Arduino Due.inf} | 4 +- 2 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 build/windows/dist/drivers/Arduino Due Programming Port.inf rename build/windows/dist/drivers/{Arduino Due X.inf => Arduino Due.inf} (97%) diff --git a/build/windows/dist/drivers/Arduino Due Programming Port.inf b/build/windows/dist/drivers/Arduino Due Programming Port.inf new file mode 100644 index 000000000..16200c626 --- /dev/null +++ b/build/windows/dist/drivers/Arduino Due Programming Port.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_2341&PID_003D + +[DeviceList.NTamd64] +%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_003D + + +;------------------------------------------------------------------------------ +; String Definitions +;------------------------------------------------------------------------------ +;Modify these strings to customize your device +;------------------------------------------------------------------------------ +[Strings] +MFGFILENAME="CDC_vista" +DRIVERFILENAME ="usbser" +MFGNAME="Arduino LLC (www.arduino.cc)" +INSTDISK="Arduino Due Programming Port Driver Installer" +DESCRIPTION="Arduino Due Programming Port" +SERVICE="USB RS-232 Emulation Driver" diff --git a/build/windows/dist/drivers/Arduino Due X.inf b/build/windows/dist/drivers/Arduino Due.inf similarity index 97% rename from build/windows/dist/drivers/Arduino Due X.inf rename to build/windows/dist/drivers/Arduino Due.inf index b6fd798c5..9b70ceae3 100644 --- a/build/windows/dist/drivers/Arduino Due X.inf +++ b/build/windows/dist/drivers/Arduino Due.inf @@ -100,6 +100,6 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys MFGFILENAME="CDC_vista" DRIVERFILENAME ="usbser" MFGNAME="Arduino LLC (www.arduino.cc)" -INSTDISK="Arduino Due X Driver Installer" -DESCRIPTION="Arduino Due X" +INSTDISK="Arduino Due Driver Installer" +DESCRIPTION="Arduino Due" SERVICE="USB RS-232 Emulation Driver"