Skip to content
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

apollo_fpga: Add optional timeout to ApolloDebugger._find_device #106

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

mndza
Copy link
Contributor

@mndza mndza commented Jul 16, 2024

As PyUSB does not provide a way to wait for a device, we simulate it with periodic sleeps. If we move to libusb1 at some point we can get rid of this.

Fixes greatscottgadgets/cynthion#142.

As PyUSB does not provide a way to wait for a device, we simulate it
with periodic sleeps. If we move to libusb1 at some point we can get rid
of this.
@mndza mndza requested a review from mossmann July 17, 2024 13:21
Copy link
Member

@mossmann mossmann left a comment

Choose a reason for hiding this comment

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

Great! Thank you!

@mossmann mossmann merged commit 3788be1 into greatscottgadgets:main Jul 18, 2024
11 checks passed
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.

cynthion update unreliable when enumeration is slow
2 participants