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

Fix "generator didn't stop" update error for LPC55 devices #446

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

daringer
Copy link
Collaborator

This PR fixes the:

Exception encountered: RuntimeError("generator didn't stop after throw()")

error by introducing a time.sleep(1) directly after asking the device to boot into the bootloader so that udev has enough time to properly handle the new device.

Checklist

Make sure to run make check and make fix before creating a PR, otherwise the CI will fail.

  • tested with Python3.11
  • signed commits

Test Environment and Execution

  • OS: Arch
  • device's model: NK3AN
  • device's firmware version: 1.5

Fixes #394

@daringer daringer merged commit f013c53 into master Sep 25, 2023
10 checks passed
@daringer daringer deleted the lpc-upd-gen-fix branch September 25, 2023 10:40
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.

nk3 update: generator didn't stop after throw()
3 participants