diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8206c5e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.inf eol=crlf +*.bat eol=crlf diff --git a/drivers/x64/mbedComposite_x64.inf b/drivers/x64/mbedComposite_x64.inf index e959330..016cf7f 100644 --- a/drivers/x64/mbedComposite_x64.inf +++ b/drivers/x64/mbedComposite_x64.inf @@ -1,114 +1,114 @@ -; mbed Microcontroller Windows USB Composite Device Installation File (x64) -; Copyright (c) ARM Ltd 2009 - -;****************************************************************************** -; Version Section -;------------------------------------------------------------------------------ -[Version] -Signature="$Windows NT$" -Provider=%S_Provider% -ClassGUID={36fc9e60-c465-11cf-8056-444553540000} -Class=USB -CatalogFile=mbedComposite_x64.cat -DriverVer=08/24/2009,1.0.0.0 ; mm/dd/yyyy[,w.x.y.z] - -;****************************************************************************** -; Manufacturer -;------------------------------------------------------------------------------ -[Manufacturer] -%S_Mfg%=_Models, ntamd64 - - -;****************************************************************************** -; Models Section -;------------------------------------------------------------------------------ -[_Models.ntamd64] -%S_DeviceDesc%=_Install, USB\VID_0D28&PID_0204 - - -;****************************************************************************** -; Install Sections -;------------------------------------------------------------------------------ -[_Install.ntamd64] -CopyFiles=_CopyFiles_sys -CopyINF=mbedSerial_x64.inf - -[_Install.ntamd64.Services] -AddService = %S_ServiceName%, 0x00000002, _AddService, _EventLog - -[_Install.ntamd64.HW] -AddReg=_AddReg_HW - -[_AddService] -ServiceType = 1 ; SERVICE_KERNEL_DRIVER -StartType = 3 ; MANUAL -ErrorControl = 1 ; SERVICE_ERROR_NORMAL -ServiceBinary = %12%\%S_DriverName%.sys -AddReg=_AddReg_Service - -[_EventLog] -AddReg=_EventLog_AddReg - -[_EventLog_AddReg] -HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys" -HKR,,TypesSupported, %REG_DWORD%, 7 - - -;****************************************************************************** -; Registry sections -;------------------------------------------------------------------------------ -[_AddReg_HW] -HKR,,UsbConfiguration,%REG_DWORD%,0 -HKR,,PnpIdPrefix,%REG_SZ%,"MI" -HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{4A199439-071A-44df-A8F4-0002A27CAF33}" - -[_AddReg_Service] - - -;****************************************************************************** -; Copy file sections -;------------------------------------------------------------------------------ -[_CopyFiles_sys] -mbedComposite_x64.sys -; note: no string variable possible in this section ! - -;****************************************************************************** -; Destination Directories -;------------------------------------------------------------------------------ -[DestinationDirs] -DefaultDestDir = 12 ; %windir%\system32\drivers -_CopyFiles_sys = 12 - -;****************************************************************************** -; Disk Layout -;------------------------------------------------------------------------------ -[SourceDisksNames.amd64] -1=%S_DiskName%,,0 - -[SourceDisksFiles.amd64] -mbedComposite_x64.sys=1 -; note: no string variable possible in this section ! - - -;****************************************************************************** -; Strings -;------------------------------------------------------------------------------ -[Strings] -; -; Non-Localizable Strings, DO NOT MODIFY! -; -REG_SZ = 0x00000000 -REG_MULTI_SZ = 0x00010000 -REG_EXPAND_SZ = 0x00020000 -REG_BINARY = 0x00000001 -REG_DWORD = 0x00010001 - -; -; Localizable Strings -; -S_Provider="mbed" -S_Mfg="mbed" -S_DeviceDesc="mbed Composite Device" -S_DiskName="mbed Composite Device installer" -S_DriverName="mbedComposite_x64" -S_ServiceName="mbedComposite" +; mbed Microcontroller Windows USB Composite Device Installation File (x64) +; Copyright (c) ARM Ltd 2009 + +;****************************************************************************** +; Version Section +;------------------------------------------------------------------------------ +[Version] +Signature="$Windows NT$" +Provider=%S_Provider% +ClassGUID={36fc9e60-c465-11cf-8056-444553540000} +Class=USB +CatalogFile=mbedComposite_x64.cat +DriverVer=08/24/2009,1.0.0.0 ; mm/dd/yyyy[,w.x.y.z] + +;****************************************************************************** +; Manufacturer +;------------------------------------------------------------------------------ +[Manufacturer] +%S_Mfg%=_Models, ntamd64 + + +;****************************************************************************** +; Models Section +;------------------------------------------------------------------------------ +[_Models.ntamd64] +%S_DeviceDesc%=_Install, USB\VID_2A03&PID_805A + + +;****************************************************************************** +; Install Sections +;------------------------------------------------------------------------------ +[_Install.ntamd64] +CopyFiles=_CopyFiles_sys +CopyINF=mbedSerial_x64.inf + +[_Install.ntamd64.Services] +AddService = %S_ServiceName%, 0x00000002, _AddService, _EventLog + +[_Install.ntamd64.HW] +AddReg=_AddReg_HW + +[_AddService] +ServiceType = 1 ; SERVICE_KERNEL_DRIVER +StartType = 3 ; MANUAL +ErrorControl = 1 ; SERVICE_ERROR_NORMAL +ServiceBinary = %12%\%S_DriverName%.sys +AddReg=_AddReg_Service + +[_EventLog] +AddReg=_EventLog_AddReg + +[_EventLog_AddReg] +HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys" +HKR,,TypesSupported, %REG_DWORD%, 7 + + +;****************************************************************************** +; Registry sections +;------------------------------------------------------------------------------ +[_AddReg_HW] +HKR,,UsbConfiguration,%REG_DWORD%,0 +HKR,,PnpIdPrefix,%REG_SZ%,"MI" +HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{4A199439-071A-44df-A8F4-0002A27CAF33}" + +[_AddReg_Service] + + +;****************************************************************************** +; Copy file sections +;------------------------------------------------------------------------------ +[_CopyFiles_sys] +mbedComposite_x64.sys +; note: no string variable possible in this section ! + +;****************************************************************************** +; Destination Directories +;------------------------------------------------------------------------------ +[DestinationDirs] +DefaultDestDir = 12 ; %windir%\system32\drivers +_CopyFiles_sys = 12 + +;****************************************************************************** +; Disk Layout +;------------------------------------------------------------------------------ +[SourceDisksNames.amd64] +1=%S_DiskName%,,0 + +[SourceDisksFiles.amd64] +mbedComposite_x64.sys=1 +; note: no string variable possible in this section ! + + +;****************************************************************************** +; Strings +;------------------------------------------------------------------------------ +[Strings] +; +; Non-Localizable Strings, DO NOT MODIFY! +; +REG_SZ = 0x00000000 +REG_MULTI_SZ = 0x00010000 +REG_EXPAND_SZ = 0x00020000 +REG_BINARY = 0x00000001 +REG_DWORD = 0x00010001 + +; +; Localizable Strings +; +S_Provider="mbed" +S_Mfg="mbed" +S_DeviceDesc="mbed Composite Device" +S_DiskName="mbed Composite Device installer" +S_DriverName="mbedComposite_x64" +S_ServiceName="mbedComposite" diff --git a/drivers/x64/mbedSerial_x64.inf b/drivers/x64/mbedSerial_x64.inf index b7b2152..717ca14 100644 --- a/drivers/x64/mbedSerial_x64.inf +++ b/drivers/x64/mbedSerial_x64.inf @@ -1,123 +1,121 @@ -;$$$mbedClassCoInst$$$ do not edit or remove this line! - -; mbed Microcontroller Windows USB Serial Installation File (x64) -; Copyright (c) ARM Ltd 2009 - -[Version] -Signature="$Windows NT$" -Provider=%S_Provider% -ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318} -Class=Ports -CatalogFile=mbedSerial_x64.cat -DriverVer=08/24/2009,2.0.2.0 ; mm/dd/yyyy[,w.x.y.z] - -; -; Driver information -; - -[Manufacturer] -%S_Mfg%=_Devices, ntamd64 - -[_Devices.ntamd64] -%S_DeviceDesc1%=Install,USB\VID_0D28&PID_0203&MI_01 -%S_DeviceDesc1%=Install,USB\VID_0D28&PID_0204&MI_01 - -; -; General installation section -; - -[Install.ntamd64] -CopyFiles=_CopyFiles_sys -AddReg=Common_AddReg - -[Install.ntamd64.HW] -AddReg=_AddReg_Param - -; -; Service Installation -; - -[Install.ntamd64.Services] -AddService = %S_DriverName%, 0x00000002 , Install_Service_Inst, Install_EventLog_Inst -AddReg = _AddRegService - -[Install_Service_Inst] -ServiceType = 1 ; SERVICE_KERNEL_DRIVER -StartType = 3 ; SERVICE_DEMAND_START -ErrorControl = 1 ; SERVICE_ERROR_NORMAL -ServiceBinary = %12%\%S_DriverName%.sys - - -[Install_EventLog_Inst] -AddReg = Install_EventLog_AddReg - -[Install_EventLog_AddReg] -HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\%S_DriverName%.sys" -HKR,,TypesSupported,0x00010001,7 - - -[_AddRegService] -HKR,,Parameters,,, - - -[_AddReg_Param] - -HKR,,ReadBufferSize, %REG_DWORD%, 1024 -HKR,,WriteBufferSize, %REG_DWORD%, 1024 -HKR,,UseLogicBuffer, %REG_DWORD%, 0 -HKR,,ReadBufferCount, %REG_DWORD%, 3 -HKR,,WriteBufferCount,%REG_DWORD%, 3 -HKR,,SendLineCoding, %REG_DWORD%, 1 -HKR,,SendLineState, %REG_DWORD%, 1 -HKR,,SendBreak, %REG_DWORD%, 1 -HKR,,OperationMode,%REG_DWORD%, 3 -HKR,,ClearFeatureOnStart,%REG_DWORD%, 0 -HKR,,VendorPipeReset,%REG_DWORD%, 0 -HKR,,DefaultLineState,%REG_DWORD%, 0 -HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{654920DB-6151-462d-B3F5-86560C7F71FE}" - -[Common_AddReg] -; is a serial port -HKR,,PortSubClass,1,01 -; property page, system default -HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" - -[DestinationDirs] -DefaultDestDir = 12 ; %windir%\system32\drivers -_CopyFiles_sys = 12 - -; -; Source file information -; - -[SourceDisksNames.amd64] -1 = %S_DiskName%,,,"" - -[SourceDisksFiles] -mbedSerial_x64.sys = 1,, - -[_CopyFiles_sys] -mbedSerial_x64.sys - -[Strings] - -; -; Non-Localizable Strings -; - -REG_SZ = 0x00000000 -REG_MULTI_SZ = 0x00010000 -REG_EXPAND_SZ = 0x00020000 -REG_BINARY = 0x00000001 -REG_DWORD = 0x00010001 -SERVICEROOT = "System\CurrentControlSet\Services" - -; -; Localizable Strings -; -S_Provider="mbed" -S_Mfg="mbed" -S_DeviceDesc1="mbed Serial Port" -S_DiskName="mbed Serial Port installer" -S_DriverName="mbedSerial_x64" - +;$$$mbedClassCoInst$$$ do not edit or remove this line! + +; mbed Microcontroller Windows USB Serial Installation File (x64) +; Copyright (c) ARM Ltd 2009 + +[Version] +Signature="$Windows NT$" +Provider=%S_Provider% +ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318} +Class=Ports +CatalogFile=mbedSerial_x64.cat +DriverVer=08/24/2009,2.0.2.0 ; mm/dd/yyyy[,w.x.y.z] + +; +; Driver information +; + +[Manufacturer] +%S_Mfg%=_Devices, ntamd64 + +[_Devices.ntamd64] +%S_DeviceDesc1%=Install,USB\VID_2A03&PID_805A&MI_01 +; +; General installation section +; + +[Install.ntamd64] +CopyFiles=_CopyFiles_sys +AddReg=Common_AddReg + +[Install.ntamd64.HW] +AddReg=_AddReg_Param + +; +; Service Installation +; + +[Install.ntamd64.Services] +AddService = %S_DriverName%, 0x00000002 , Install_Service_Inst, Install_EventLog_Inst +AddReg = _AddRegService + +[Install_Service_Inst] +ServiceType = 1 ; SERVICE_KERNEL_DRIVER +StartType = 3 ; SERVICE_DEMAND_START +ErrorControl = 1 ; SERVICE_ERROR_NORMAL +ServiceBinary = %12%\%S_DriverName%.sys + + +[Install_EventLog_Inst] +AddReg = Install_EventLog_AddReg + +[Install_EventLog_AddReg] +HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\%S_DriverName%.sys" +HKR,,TypesSupported,0x00010001,7 + + +[_AddRegService] +HKR,,Parameters,,, + + +[_AddReg_Param] + +HKR,,ReadBufferSize, %REG_DWORD%, 1024 +HKR,,WriteBufferSize, %REG_DWORD%, 1024 +HKR,,UseLogicBuffer, %REG_DWORD%, 0 +HKR,,ReadBufferCount, %REG_DWORD%, 3 +HKR,,WriteBufferCount,%REG_DWORD%, 3 +HKR,,SendLineCoding, %REG_DWORD%, 1 +HKR,,SendLineState, %REG_DWORD%, 1 +HKR,,SendBreak, %REG_DWORD%, 1 +HKR,,OperationMode,%REG_DWORD%, 3 +HKR,,ClearFeatureOnStart,%REG_DWORD%, 0 +HKR,,VendorPipeReset,%REG_DWORD%, 0 +HKR,,DefaultLineState,%REG_DWORD%, 0 +HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{654920DB-6151-462d-B3F5-86560C7F71FE}" + +[Common_AddReg] +; is a serial port +HKR,,PortSubClass,1,01 +; property page, system default +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" + +[DestinationDirs] +DefaultDestDir = 12 ; %windir%\system32\drivers +_CopyFiles_sys = 12 + +; +; Source file information +; + +[SourceDisksNames.amd64] +1 = %S_DiskName%,,,"" + +[SourceDisksFiles] +mbedSerial_x64.sys = 1,, + +[_CopyFiles_sys] +mbedSerial_x64.sys + +[Strings] + +; +; Non-Localizable Strings +; + +REG_SZ = 0x00000000 +REG_MULTI_SZ = 0x00010000 +REG_EXPAND_SZ = 0x00020000 +REG_BINARY = 0x00000001 +REG_DWORD = 0x00010001 +SERVICEROOT = "System\CurrentControlSet\Services" + +; +; Localizable Strings +; +S_Provider="mbed" +S_Mfg="mbed" +S_DeviceDesc1="Arduino Primo CDC" +S_DiskName="mbed Serial Port installer" +S_DriverName="mbedSerial_x64" + diff --git a/drivers/x64/mbed_64.exe b/drivers/x64/mbed_64.exe deleted file mode 100644 index a0440f3..0000000 Binary files a/drivers/x64/mbed_64.exe and /dev/null differ diff --git a/drivers/x64/mbedcomposite_x64.cat b/drivers/x64/mbedcomposite_x64.cat index 8c4d655..71393d0 100644 Binary files a/drivers/x64/mbedcomposite_x64.cat and b/drivers/x64/mbedcomposite_x64.cat differ diff --git a/drivers/x64/mbedserial_x64.cat b/drivers/x64/mbedserial_x64.cat index 9e3c176..c1f4648 100644 Binary files a/drivers/x64/mbedserial_x64.cat and b/drivers/x64/mbedserial_x64.cat differ diff --git a/drivers/x86/mbedComposite.inf b/drivers/x86/mbedComposite.inf index 1f1cc28..5c734ea 100644 --- a/drivers/x86/mbedComposite.inf +++ b/drivers/x86/mbedComposite.inf @@ -1,114 +1,114 @@ -; mbed Microcontroller Windows USB Composite Device Installation File -; Copyright (c) ARM Ltd 2009 - -;****************************************************************************** -; Version Section -;------------------------------------------------------------------------------ -[Version] -Signature="$Windows NT$" -Provider=%S_Provider% -ClassGUID={36fc9e60-c465-11cf-8056-444553540000} -Class=USB -CatalogFile=mbedComposite.cat -DriverVer=08/24/2009,1.0.0.0 ; mm/dd/yyyy[,w.x.y.z] - -;****************************************************************************** -; Manufacturer -;------------------------------------------------------------------------------ -[Manufacturer] -%S_Mfg%=_Models - - -;****************************************************************************** -; Models Section -;------------------------------------------------------------------------------ -[_Models] -%S_DeviceDesc%=_Install, USB\VID_0D28&PID_0204 - - -;****************************************************************************** -; Install Sections -;------------------------------------------------------------------------------ -[_Install.ntx86] -CopyFiles=_CopyFiles_sys -CopyINF=mbedSerial.inf - -[_Install.ntx86.Services] -AddService = %S_ServiceName%, 0x00000002, _AddService, _EventLog - -[_Install.ntx86.HW] -AddReg=_AddReg_HW - -[_AddService] -ServiceType = 1 ; SERVICE_KERNEL_DRIVER -StartType = 3 ; MANUAL -ErrorControl = 1 ; SERVICE_ERROR_NORMAL -ServiceBinary = %12%\%S_DriverName%.sys -AddReg=_AddReg_Service - -[_EventLog] -AddReg=_EventLog_AddReg - -[_EventLog_AddReg] -HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys" -HKR,,TypesSupported, %REG_DWORD%, 7 - - -;****************************************************************************** -; Registry sections -;------------------------------------------------------------------------------ -[_AddReg_HW] -HKR,,UsbConfiguration,%REG_DWORD%,0 -HKR,,PnpIdPrefix,%REG_SZ%,"MI" -HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{4A199439-071A-44df-A8F4-0002A27CAF33}" - -[_AddReg_Service] - - -;****************************************************************************** -; Copy file sections -;------------------------------------------------------------------------------ -[_CopyFiles_sys] -mbedComposite.sys -; note: no string variable possible in this section ! - -;****************************************************************************** -; Destination Directories -;------------------------------------------------------------------------------ -[DestinationDirs] -DefaultDestDir = 12 ; %windir%\system32\drivers -_CopyFiles_sys = 12 - -;****************************************************************************** -; Disk Layout -;------------------------------------------------------------------------------ -[SourceDisksNames.x86] -1=%S_DiskName%,,0 - -[SourceDisksFiles.x86] -mbedComposite.sys=1 -; note: no string variable possible in this section ! - - -;****************************************************************************** -; Strings -;------------------------------------------------------------------------------ -[Strings] -; -; Non-Localizable Strings, DO NOT MODIFY! -; -REG_SZ = 0x00000000 -REG_MULTI_SZ = 0x00010000 -REG_EXPAND_SZ = 0x00020000 -REG_BINARY = 0x00000001 -REG_DWORD = 0x00010001 - -; -; Localizable Strings -; -S_Provider="mbed" -S_Mfg="mbed" -S_DeviceDesc="mbed Composite Device" -S_DiskName="mbed Composite Device installer" -S_DriverName="mbedComposite" -S_ServiceName="mbedComposite" +; mbed Microcontroller Windows USB Composite Device Installation File +; Copyright (c) ARM Ltd 2009 + +;****************************************************************************** +; Version Section +;------------------------------------------------------------------------------ +[Version] +Signature="$Windows NT$" +Provider=%S_Provider% +ClassGUID={36fc9e60-c465-11cf-8056-444553540000} +Class=USB +CatalogFile=mbedComposite.cat +DriverVer=08/24/2009,1.0.0.0 ; mm/dd/yyyy[,w.x.y.z] + +;****************************************************************************** +; Manufacturer +;------------------------------------------------------------------------------ +[Manufacturer] +%S_Mfg%=_Models + + +;****************************************************************************** +; Models Section +;------------------------------------------------------------------------------ +[_Models] +%S_DeviceDesc%=_Install, USB\VID_2A03&PID_805A + + +;****************************************************************************** +; Install Sections +;------------------------------------------------------------------------------ +[_Install.ntx86] +CopyFiles=_CopyFiles_sys +CopyINF=mbedSerial.inf + +[_Install.ntx86.Services] +AddService = %S_ServiceName%, 0x00000002, _AddService, _EventLog + +[_Install.ntx86.HW] +AddReg=_AddReg_HW + +[_AddService] +ServiceType = 1 ; SERVICE_KERNEL_DRIVER +StartType = 3 ; MANUAL +ErrorControl = 1 ; SERVICE_ERROR_NORMAL +ServiceBinary = %12%\%S_DriverName%.sys +AddReg=_AddReg_Service + +[_EventLog] +AddReg=_EventLog_AddReg + +[_EventLog_AddReg] +HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys" +HKR,,TypesSupported, %REG_DWORD%, 7 + + +;****************************************************************************** +; Registry sections +;------------------------------------------------------------------------------ +[_AddReg_HW] +HKR,,UsbConfiguration,%REG_DWORD%,0 +HKR,,PnpIdPrefix,%REG_SZ%,"MI" +HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{4A199439-071A-44df-A8F4-0002A27CAF33}" + +[_AddReg_Service] + + +;****************************************************************************** +; Copy file sections +;------------------------------------------------------------------------------ +[_CopyFiles_sys] +mbedComposite.sys +; note: no string variable possible in this section ! + +;****************************************************************************** +; Destination Directories +;------------------------------------------------------------------------------ +[DestinationDirs] +DefaultDestDir = 12 ; %windir%\system32\drivers +_CopyFiles_sys = 12 + +;****************************************************************************** +; Disk Layout +;------------------------------------------------------------------------------ +[SourceDisksNames.x86] +1=%S_DiskName%,,0 + +[SourceDisksFiles.x86] +mbedComposite.sys=1 +; note: no string variable possible in this section ! + + +;****************************************************************************** +; Strings +;------------------------------------------------------------------------------ +[Strings] +; +; Non-Localizable Strings, DO NOT MODIFY! +; +REG_SZ = 0x00000000 +REG_MULTI_SZ = 0x00010000 +REG_EXPAND_SZ = 0x00020000 +REG_BINARY = 0x00000001 +REG_DWORD = 0x00010001 + +; +; Localizable Strings +; +S_Provider="mbed" +S_Mfg="mbed" +S_DeviceDesc="mbed Composite Device" +S_DiskName="mbed Composite Device installer" +S_DriverName="mbedComposite" +S_ServiceName="mbedComposite" diff --git a/drivers/x86/mbedSerial.inf b/drivers/x86/mbedSerial.inf index a29d4d1..d717dfe 100644 --- a/drivers/x86/mbedSerial.inf +++ b/drivers/x86/mbedSerial.inf @@ -1,123 +1,122 @@ -;$$$mbedClassCoInst$$$ do not edit or remove this line! - -; mbed Microcontroller Windows USB Serial Installation File -; Copyright (c) ARM Ltd 2009 - -[Version] -Signature="$Windows NT$" -Provider=%S_Provider% -ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318} -Class=Ports -CatalogFile=mbedSerial.cat -DriverVer=08/24/2009,2.0.2.0 ; mm/dd/yyyy[,w.x.y.z] - -; -; Driver information -; - -[Manufacturer] -%S_Mfg%=_Devices - -[_Devices] -%S_DeviceDesc1%=Install,USB\VID_0D28&PID_0203&MI_01 -%S_DeviceDesc1%=Install,USB\VID_0D28&PID_0204&MI_01 - -; -; General installation section -; - -[Install.NT] -CopyFiles=_CopyFiles_sys -AddReg=Common_AddReg - -[Install.NT.HW] -AddReg=_AddReg_Param - -; -; Service Installation -; - -[Install.NT.Services] -AddService = %S_DriverName%, 0x00000002 , Install_Service_Inst, Install_EventLog_Inst -AddReg = _AddRegService - -[Install_Service_Inst] -ServiceType = 1 ; SERVICE_KERNEL_DRIVER -StartType = 3 ; SERVICE_DEMAND_START -ErrorControl = 1 ; SERVICE_ERROR_NORMAL -ServiceBinary = %12%\%S_DriverName%.sys - - -[Install_EventLog_Inst] -AddReg = Install_EventLog_AddReg - -[Install_EventLog_AddReg] -HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\%S_DriverName%.sys" -HKR,,TypesSupported,0x00010001,7 - - -[_AddRegService] -HKR,,Parameters,,, - - -[_AddReg_Param] - -HKR,,ReadBufferSize, %REG_DWORD%, 1024 -HKR,,WriteBufferSize, %REG_DWORD%, 1024 -HKR,,UseLogicBuffer, %REG_DWORD%, 0 -HKR,,ReadBufferCount, %REG_DWORD%, 3 -HKR,,WriteBufferCount,%REG_DWORD%, 3 -HKR,,SendLineCoding, %REG_DWORD%, 1 -HKR,,SendLineState, %REG_DWORD%, 1 -HKR,,SendBreak, %REG_DWORD%, 1 -HKR,,OperationMode,%REG_DWORD%, 3 -HKR,,ClearFeatureOnStart,%REG_DWORD%, 0 -HKR,,VendorPipeReset,%REG_DWORD%, 0 -HKR,,DefaultLineState,%REG_DWORD%, 0 -HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{654920DB-6151-462d-B3F5-86560C7F71FE}" - -[Common_AddReg] -; is a serial port -HKR,,PortSubClass,1,01 -; property page, system default -HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" - -[DestinationDirs] -DefaultDestDir = 12 -_CopyFiles_sys = 10,System32\Drivers - -; -; Source file information -; - -[SourceDisksNames.x86] -1 = %S_DiskName%,,,"" - -[SourceDisksFiles] -mbedSerial.sys = 1,, - -[_CopyFiles_sys] -mbedSerial.sys - -[Strings] - -; -; Non-Localizable Strings -; - -REG_SZ = 0x00000000 -REG_MULTI_SZ = 0x00010000 -REG_EXPAND_SZ = 0x00020000 -REG_BINARY = 0x00000001 -REG_DWORD = 0x00010001 -SERVICEROOT = "System\CurrentControlSet\Services" - -; -; Localizable Strings -; -S_Provider="mbed" -S_Mfg="mbed" -S_DeviceDesc1="mbed Serial Port" -S_DiskName="mbed Serial Port installer" -S_DriverName="mbedSerial" - +;$$$mbedClassCoInst$$$ do not edit or remove this line! + +; mbed Microcontroller Windows USB Serial Installation File +; Copyright (c) ARM Ltd 2009 + +[Version] +Signature="$Windows NT$" +Provider=%S_Provider% +ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318} +Class=Ports +CatalogFile=mbedSerial.cat +DriverVer=08/24/2009,2.0.2.0 ; mm/dd/yyyy[,w.x.y.z] + +; +; Driver information +; + +[Manufacturer] +%S_Mfg%=_Devices + +[_Devices] +%S_DeviceDesc1%=Install,USB\VID_2A03&PID_805A&MI_01 + +; +; General installation section +; + +[Install.NT] +CopyFiles=_CopyFiles_sys +AddReg=Common_AddReg + +[Install.NT.HW] +AddReg=_AddReg_Param + +; +; Service Installation +; + +[Install.NT.Services] +AddService = %S_DriverName%, 0x00000002 , Install_Service_Inst, Install_EventLog_Inst +AddReg = _AddRegService + +[Install_Service_Inst] +ServiceType = 1 ; SERVICE_KERNEL_DRIVER +StartType = 3 ; SERVICE_DEMAND_START +ErrorControl = 1 ; SERVICE_ERROR_NORMAL +ServiceBinary = %12%\%S_DriverName%.sys + + +[Install_EventLog_Inst] +AddReg = Install_EventLog_AddReg + +[Install_EventLog_AddReg] +HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\%S_DriverName%.sys" +HKR,,TypesSupported,0x00010001,7 + + +[_AddRegService] +HKR,,Parameters,,, + + +[_AddReg_Param] + +HKR,,ReadBufferSize, %REG_DWORD%, 1024 +HKR,,WriteBufferSize, %REG_DWORD%, 1024 +HKR,,UseLogicBuffer, %REG_DWORD%, 0 +HKR,,ReadBufferCount, %REG_DWORD%, 3 +HKR,,WriteBufferCount,%REG_DWORD%, 3 +HKR,,SendLineCoding, %REG_DWORD%, 1 +HKR,,SendLineState, %REG_DWORD%, 1 +HKR,,SendBreak, %REG_DWORD%, 1 +HKR,,OperationMode,%REG_DWORD%, 3 +HKR,,ClearFeatureOnStart,%REG_DWORD%, 0 +HKR,,VendorPipeReset,%REG_DWORD%, 0 +HKR,,DefaultLineState,%REG_DWORD%, 0 +HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{654920DB-6151-462d-B3F5-86560C7F71FE}" + +[Common_AddReg] +; is a serial port +HKR,,PortSubClass,1,01 +; property page, system default +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" + +[DestinationDirs] +DefaultDestDir = 12 +_CopyFiles_sys = 10,System32\Drivers + +; +; Source file information +; + +[SourceDisksNames.x86] +1 = %S_DiskName%,,,"" + +[SourceDisksFiles] +mbedSerial.sys = 1,, + +[_CopyFiles_sys] +mbedSerial.sys + +[Strings] + +; +; Non-Localizable Strings +; + +REG_SZ = 0x00000000 +REG_MULTI_SZ = 0x00010000 +REG_EXPAND_SZ = 0x00020000 +REG_BINARY = 0x00000001 +REG_DWORD = 0x00010001 +SERVICEROOT = "System\CurrentControlSet\Services" + +; +; Localizable Strings +; +S_Provider="mbed" +S_Mfg="mbed" +S_DeviceDesc1="Arduino Primo CDC" +S_DiskName="mbed Serial Port installer" +S_DriverName="mbedSerial" + diff --git a/drivers/x86/mbed_32.exe b/drivers/x86/mbed_32.exe deleted file mode 100644 index c948d85..0000000 Binary files a/drivers/x86/mbed_32.exe and /dev/null differ diff --git a/drivers/x86/mbedcomposite.cat b/drivers/x86/mbedcomposite.cat index 7686d07..7b4ffba 100644 Binary files a/drivers/x86/mbedcomposite.cat and b/drivers/x86/mbedcomposite.cat differ diff --git a/drivers/x86/mbedserial.cat b/drivers/x86/mbedserial.cat index b12c535..65b9697 100644 Binary files a/drivers/x86/mbedserial.cat and b/drivers/x86/mbedserial.cat differ diff --git a/post_install.bat b/post_install.bat index 46ef3fa..11db015 100644 --- a/post_install.bat +++ b/post_install.bat @@ -1,13 +1,13 @@ @echo off set ARGS=/A /SE /SW /SA if "%PROCESSOR_ARCHITECTURE%" == "AMD64" ( - drivers\dpinst-amd64.exe %ARGS% - drivers\x64\mbed_64.exe + :: drivers\dpinst-amd64.exe %ARGS% + drivers\dpinst-amd64.exe %ARGS% /path %CD%\drivers\x64 ) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" ( - drivers\dpinst-amd64.exe %ARGS% - drivers\x64\mbed_64.exe + :: drivers\dpinst-amd64.exe %ARGS% + drivers\dpinst-amd64.exe %ARGS% /path %CD%\drivers\x64 ) ELSE ( - drivers\dpinst-x86.exe %ARGS% - drivers\x86\mbed_32.exe + :: drivers\dpinst-x86.exe %ARGS% + drivers\dpinst-x86.exe %ARGS% /path %CD%\drivers\x86 ) exit /b 0 \ No newline at end of file