mirror of https://github.com/ARMmbed/mbed-os.git
Tests: USB: Add device config files for Zadig
Zadig is a tool used to install generic USB drivers on Windows machines. These drivers are necessary to run USB device test suite on Windows hosts.pull/9768/head
parent
799cde0fc3
commit
79376c6f00
|
@ -0,0 +1,18 @@
|
|||
# Generic USB driver installation on Windows machines
|
||||
|
||||
In order to run the Mbed OS USB device test suite (`tests-usb_device-*`)
|
||||
on Windows hosts you need to install generic USB drivers for two test devices.
|
||||
|
||||
1. Download *Zadig* application from https://zadig.akeo.ie/.
|
||||
1. Unplug the Mbed device.
|
||||
1. Open *Zadig*.
|
||||
1. Select *Device -> Load Preset Device*.
|
||||
1. Open `mbed_os-usb_test_device1.cfg`.
|
||||
1. Choose `libusb-win32 (v1.2.6.0)` driver.
|
||||
1. Select `Install Driver` and click it.
|
||||
1. Select *Device -> Load Preset Device*.
|
||||
1. Open `mbed_os-usb_test_device2.cfg`.
|
||||
1. Choose `libusb-win32 (v1.2.6.0)` driver.
|
||||
1. Select `Install Driver` and click it.
|
||||
1. Close *Zadig*.
|
||||
1. Plug both device USB interfaces (*DAPLink* and *USB device*).
|
|
@ -0,0 +1,6 @@
|
|||
# Zadig device configuration
|
||||
# Mbed OS USB test device -- basic tests
|
||||
[device]
|
||||
Description = "MBED TEST DEVICE"
|
||||
VID = 0x0D28
|
||||
PID = 0x0205
|
|
@ -0,0 +1,6 @@
|
|||
# Zadig device configuration
|
||||
# Mbed OS USB test device -- endpoint tests
|
||||
[device]
|
||||
Description = "USB DEVICE"
|
||||
VID = 0x0D28
|
||||
PID = 0x0206
|
Loading…
Reference in New Issue