windows-winusb-intel: improve zadig instructions, added images

This commit is contained in:
Matthias Ringwald 2023-06-02 10:24:24 +02:00
parent 68b7054f68
commit d1b9b38f4e
2 changed files with 9 additions and 3 deletions

View File

@ -30,7 +30,7 @@ def process_readmes(intro_file, port_folder, ports_file, ports_folder):
if os.path.exists(readme_file):
matches[port] = readme_file
for file in os.listdir(port_folder + "/" + port):
if file.endswith('.jpg'):
if file.endswith('.jpg') or file.endswith('.png'):
images[file] = port_folder + "/" + port + "/" + file
with open(ports_file, 'w') as ports:

View File

@ -8,7 +8,7 @@ The port provides both a regular Makefile as well as a CMake build file. It uses
## Access to Bluetooth USB Dongle with Zadig
To allow libusb or WinUSB to access an USB Bluetooth dongle, you need to install a special device driver to make it accessible to user space processes.
To allow WinUSB to access an USB Bluetooth dongle, you need to install a special device driver to make it accessible to user space processes.
It works like this:
@ -16,9 +16,15 @@ It works like this:
- Start Zadig
- Select Options -> “List all devices”
- Select USB Bluetooth dongle in the big pull down list
- Select WinUSB (libusb) in the right pull pull down list
- Select WinUSB in the right pull down list
- Select “Replace Driver”
![Zadig showing CYW20704A2](zadig-cyw20704.png)
After the new driver was installed, your device is shown in the Device Manager with Device Provider 'libwdi'
![Device Manager showing CYW20704A2](device-manager-cyw20704.png)
## Visual Studio 2022
Visual Studio can directly open the provided `port/windows-windows-h4-zephyr/CMakeLists.txt` and allows to compile and run all examples.