From d1b9b38f4e0784acf568c45bf4ea8a77cc819d4a Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 2 Jun 2023 10:24:24 +0200 Subject: [PATCH] windows-winusb-intel: improve zadig instructions, added images --- doc/manual/markdown_create_ports.py | 2 +- port/windows-winusb-intel/README.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/manual/markdown_create_ports.py b/doc/manual/markdown_create_ports.py index a43559090..23f3c06c9 100755 --- a/doc/manual/markdown_create_ports.py +++ b/doc/manual/markdown_create_ports.py @@ -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: diff --git a/port/windows-winusb-intel/README.md b/port/windows-winusb-intel/README.md index 65a1c85ba..2374151b3 100644 --- a/port/windows-winusb-intel/README.md +++ b/port/windows-winusb-intel/README.md @@ -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.