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
Filip Jagodzinski 2018-05-28 18:31:57 +02:00 committed by Russ Butler
parent 799cde0fc3
commit 79376c6f00
3 changed files with 30 additions and 0 deletions

View File

@ -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*).

View File

@ -0,0 +1,6 @@
# Zadig device configuration
# Mbed OS USB test device -- basic tests
[device]
Description = "MBED TEST DEVICE"
VID = 0x0D28
PID = 0x0205

View File

@ -0,0 +1,6 @@
# Zadig device configuration
# Mbed OS USB test device -- endpoint tests
[device]
Description = "USB DEVICE"
VID = 0x0D28
PID = 0x0206