-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] add ARM64 driver installation support
* Requires x86 emulation on the ARM64 platform since we are not compiling native libraries or examples (only the internal installer is native). * Only WinUSB and USBSer drivers are supported. * Addresses #155.
- Loading branch information
Showing
7 changed files
with
101 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
; #INF_FILENAME# | ||
; Copyright (c) 2016 Pete Batard <[email protected]> (GNU LGPL) | ||
; Copyright (c) 2016-2023 Pete Batard <[email protected]> (GNU LGPL) | ||
; Based on the USB CDC .inf sample file provided by James Stephanick | ||
; at https://community.freescale.com/message/493287#493287 | ||
; With acknowledgement to Sensics, Inc. <https://sensics.com/osvr>, | ||
|
@@ -22,15 +22,15 @@ CatalogFile = #CAT_FILENAME# | |
DriverVer = #DRIVER_DATE#, 1.0.0.0 | ||
|
||
[Manufacturer] | ||
%VendorName% = DeviceList,NTx86,NTamd64,NTarm | ||
%VendorName% = DeviceList,NTx86,NTamd64,NTarm64 | ||
|
||
[DeviceList.NTx86] | ||
%DeviceName% = UsbSer_Install, USB\%DeviceID% | ||
|
||
[DeviceList.NTamd64] | ||
%DeviceName% = UsbSer_Install, USB\%DeviceID% | ||
|
||
[DeviceList.NTarm] | ||
[DeviceList.NTarm64] | ||
%DeviceName% = UsbSer_Install, USB\%DeviceID% | ||
|
||
[UsbSer_Install] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
; #INF_FILENAME# | ||
; Copyright (c) 2010-2016 Pete Batard <[email protected]> (GNU LGPL) | ||
; Copyright (c) 2010-2023 Pete Batard <[email protected]> (GNU LGPL) | ||
[Strings] | ||
DeviceName = "#DEVICE_DESCRIPTION#" | ||
VendorName = "#DEVICE_MANUFACTURER#" | ||
|
@@ -23,15 +23,15 @@ HKR,,,0,"Universal Serial Bus devices" | |
HKR,,Icon,,-20 | ||
|
||
[Manufacturer] | ||
%VendorName% = libusbDevice_WinUSB,NTx86,NTamd64,NTarm | ||
%VendorName% = libusbDevice_WinUSB,NTx86,NTamd64,NTarm64 | ||
|
||
[libusbDevice_WinUSB.NTx86] | ||
%DeviceName% = USB_Install, USB\%DeviceID% | ||
|
||
[libusbDevice_WinUSB.NTamd64] | ||
%DeviceName% = USB_Install, USB\%DeviceID% | ||
|
||
[libusbDevice_WinUSB.NTarm] | ||
[libusbDevice_WinUSB.NTarm64] | ||
%DeviceName% = USB_Install, USB\%DeviceID% | ||
|
||
[USB_Install] | ||
|
@@ -64,10 +64,17 @@ AddReg = #USE_DEVICE_INTERFACE_GUID# | |
[AddDeviceInterfaceGUID] | ||
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID% | ||
|
||
[USB_Install.CoInstallers] | ||
[USB_Install.NTx86.CoInstallers] | ||
AddReg = CoInstallers_AddReg | ||
CopyFiles = CoInstallers_CopyFiles | ||
|
||
[USB_Install.NTamd64.CoInstallers] | ||
AddReg = CoInstallers_AddReg | ||
CopyFiles = CoInstallers_CopyFiles | ||
|
||
[USB_Install.NTarm64.CoInstallers] | ||
; | ||
|
||
[CoInstallers_AddReg] | ||
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller#WDF_VERSION#.dll,WdfCoInstaller","WinUSBCoInstaller2.dll" | ||
|
||
|
@@ -89,6 +96,5 @@ WdfCoInstaller#WDF_VERSION#.dll = 1,x86 | |
WinUSBCoInstaller2.dll = 1,amd64 | ||
WdfCoInstaller#WDF_VERSION#.dll = 1,amd64 | ||
|
||
[SourceDisksFiles.arm] | ||
WinUSBCoInstaller2.dll = 1,arm | ||
WdfCoInstaller#WDF_VERSION#.dll = 1,arm | ||
[SourceDisksFiles.arm64] | ||
; |