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

raspberrypi: implement reset, reset_to_bootloader #4123

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

jepler
Copy link
Member

@jepler jepler commented Feb 4, 2021

This makes all the following work:

  • normal microcontroller.reset()
  • reset into safe mode or UF2 bootloader via microcontroller.on_next_reset()
  • reset into UF2 bootloader via the "1200 baud trick"

The implementation of reset_cpu is from micropython.

This makes all the following work:
 * normal microcontroller.reset()
 * reset into safe mode or UF2 bootloader via microcontroller.on_next_reset()
 * reset into UF2 bootloader via the "1200 baud trick"

The implementation of reset_cpu is from micropython.
@jepler jepler force-pushed the raspberrypi-reset-bootloader branch from c729a5d to 6e153d9 Compare February 4, 2021 18:07
@jepler jepler changed the title raspberrypi: implement reset_to_bootloader raspberrypi: implement reset, reset_to_bootloader Feb 4, 2021
@jepler
Copy link
Member Author

jepler commented Feb 4, 2021

Updated and tested now :)

@dhalbert dhalbert requested a review from tannewt February 4, 2021 19:42
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you!

@tannewt tannewt merged commit f6e881e into adafruit:main Feb 4, 2021
@jepler jepler deleted the raspberrypi-reset-bootloader branch November 3, 2021 21:10
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