Skip to content

Commit 2347133

Browse files
fkjagodzinski0xc0170
authored andcommitted
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.
1 parent 451b09d commit 2347133

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generic USB driver installation on Windows machines
2+
3+
In order to run the Mbed OS USB device test suite (`tests-usb_device-*`)
4+
on Windows hosts you need to install generic USB drivers for two test devices.
5+
6+
1. Download *Zadig* application from https://zadig.akeo.ie/.
7+
1. Unplug the Mbed device.
8+
1. Open *Zadig*.
9+
1. Select *Device -> Load Preset Device*.
10+
1. Open `mbed_os-usb_test_device1.cfg`.
11+
1. Choose `libusb-win32 (v1.2.6.0)` driver.
12+
1. Select `Install Driver` and click it.
13+
1. Select *Device -> Load Preset Device*.
14+
1. Open `mbed_os-usb_test_device2.cfg`.
15+
1. Choose `libusb-win32 (v1.2.6.0)` driver.
16+
1. Select `Install Driver` and click it.
17+
1. Close *Zadig*.
18+
1. Plug both device USB interfaces (*DAPLink* and *USB device*).
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Zadig device configuration
2+
# Mbed OS USB test device -- basic tests
3+
[device]
4+
Description = "MBED TEST DEVICE"
5+
VID = 0x0D28
6+
PID = 0x0205
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Zadig device configuration
2+
# Mbed OS USB test device -- endpoint tests
3+
[device]
4+
Description = "USB DEVICE"
5+
VID = 0x0D28
6+
PID = 0x0206

0 commit comments

Comments
 (0)