Skip to content

Conversation

@mon7gomery
Copy link

Add the programmer's USB serial number to the ./wlink list command output. This becomes handy when having more than one programmer connected at the same time.
At least on Windows, Bus and Device number cannot be used to identify a programmer. The device number changes with every reconnect of the programmer.

Only works with libusb.

@andelf andelf requested review from andelf and Copilot and removed request for andelf December 8, 2025 03:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds USB serial number information to the ./wlink list command output, enabling users to reliably identify specific programmers when multiple devices are connected. This is particularly useful on Windows where bus and device numbers can change on reconnection.

Key Changes:

  • Opens each detected USB device to read its serial number
  • Updates the output format string to include the serial number field

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants