-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Target devices by it's unique ID #54
Comments
Example: lsusb -v output shows iSerial value:
The following snippet shows how to get the unique ID: |
Yes, this would be excellent. I opened similar issues a while back (#48) and despite how I closed that issue I actually never solved my problem. I couldn't find any way to programmatically reference an RP2040 device and flash it using picotool. |
I guess this ties up closely with #12 (since the ID returned by |
I have created a very experimental branch here that provides a The branch is pretty experimental, but it simplifies the workflow for working with multiple picos by a lot. For example:
will correctly reboot two specific picos into BOOTSEL mode, flash them, and reboot them back into application mode. |
This has been added with picotool 2.0.0 as the |
Feature request: Target devices by their unique ID, so that I can work with multiple devices connected at the same time, while allowing the USB port connections to change.
The unique id is available on the SDK (pico_get_unique_board_id), the same string is exposed on the device descriptor.
The text was updated successfully, but these errors were encountered: